Skip to content

Commit

Permalink
group id changed
Browse files Browse the repository at this point in the history
  • Loading branch information
amirarcane committed Nov 1, 2015
1 parent e211024 commit 393985e
Show file tree
Hide file tree
Showing 13 changed files with 163 additions and 150 deletions.
1 change: 1 addition & 0 deletions .gradle/2.2.1/taskArtifacts/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Sun Nov 01 12:56:23 IRST 2015
Binary file added .gradle/2.2.1/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file added .gradle/2.2.1/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file added .gradle/2.2.1/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file added .gradle/2.2.1/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file added .gradle/2.2.1/taskArtifacts/taskArtifacts.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion .idea/libraries/appcompat_v7_23_0_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/libraries/support_v4_23_0_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

233 changes: 102 additions & 131 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Watching this repository will allow GitHub to email you whenever I publish a rel
Add this line to your project `build.gradle`

```java
compile 'com.amirarcane:recentimages:1.0.0'
compile 'com.amirarcane.recent-images:recentimages:1.0.0'
```
---
# Usage
Expand Down
69 changes: 55 additions & 14 deletions recentimages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

version = "1.0.0"

android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
Expand All @@ -27,34 +25,59 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.0.1'
}

def siteUrl = 'https://github.com/amirarcane/recent-images' // Homepage URL of the library
def gitUrl = 'https://github.com/amirarcane/recent-images.git' // Git repository URL
group = "recentimages" // Maven Group ID for the artifact
ext {
bintrayRepo = 'maven'
bintrayName = 'recentimages'

publishedGroupId = 'com.amirarcane.recent-images'
libraryName = 'recentimages'
artifact = 'recentimages'

libraryDescription = 'Simplest way to get device all images based on date taken, name, id and other customization'

siteUrl = 'https://github.com/amirarcane/recent-images'
gitUrl = 'https://github.com/amirarcane/recent-images.git'

libraryVersion = '1.0.0'

developerId = 'amirarcane'
developerName = 'Amirhossein Naghshzan'
developerEmail = '[email protected]'

licenseName = 'MIT'
licenseUrl = 'https://github.com/amirarcane/recent-images/blob/master/LICENSE.txt'
allLicenses = ["MIT"]
}


group = publishedGroupId // Maven Group ID for the artifact

install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
groupId publishedGroupId
artifactId artifact

// Add your description here
name 'recentimages'
name libraryName
description libraryDescription
url siteUrl

// Set your license
licenses {
license {
name 'MIT'
url 'https://github.com/amirarcane/recent-images/blob/master/LICENSE.txt'
name licenseName
url licenseUrl
}
}
developers {
developer {
id 'amirarcane'
name 'Amirhossein Naghshzan'
email '[email protected]'
id developerId
name developerName
email developerEmail
}
}
scm {
Expand All @@ -68,15 +91,28 @@ install {
}
}

version = libraryVersion

task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}

task javadoc(type: Javadoc) {
//source = android.sourceSets.main.java.srcDirs
//classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives javadocJar
archives sourcesJar
}

// Bintray
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

Expand All @@ -86,11 +122,16 @@ bintray {

configurations = ['archives']
pkg {
repo = "maven"
name = "recentimages"
repo = bintrayRepo
name = bintrayName
desc = libraryDescription
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = ["MIT"]
licenses = allLicenses
publish = true
publicDownloadNumbers = true
version {
desc = libraryDescription
}
}
}
2 changes: 1 addition & 1 deletion recentimages/recentimages.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":recentimages" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="recentimages" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<module external.linked.project.id=":recentimages" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.amirarcane.recent-images" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down

0 comments on commit 393985e

Please sign in to comment.