Skip to content

Commit

Permalink
Add pre/postfix to integration source/javadoc jars
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Nov 7, 2014
1 parent e91ade6 commit 85dbdad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integration/okhttp/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ VERSION_PATCH=0
VERSION_CODE=3

POM_DESCRIPTION=An integration library to use OkHttp to fetch data over http/https in Glide

# Prefix and postfix for source and javadoc jars.
JAR_PREFIX=glide-
JAR_POSTFIX=-integration
4 changes: 4 additions & 0 deletions integration/volley/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ VERSION_PATCH=0
VERSION_CODE=3

POM_DESCRIPTION=An integration library to use Volley to fetch data over http/https in Glide

# Prefix and postfix for source and javadoc jars.
JAR_PREFIX=glide-
JAR_POSTFIX=-integration
2 changes: 2 additions & 0 deletions scripts/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ afterEvaluate { project ->

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
from androidJavadocs.destinationDir
baseName "${JAR_PREFIX}${project.name}${JAR_POSTFIX}"
}

task androidSourcesJar(type: Jar) {
from project.android.sourceSets.main.java.source
baseName "${JAR_PREFIX}${project.name}${JAR_POSTFIX}"
}
}

Expand Down

0 comments on commit 85dbdad

Please sign in to comment.