aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Judd <judds@google.com>2014-11-06 19:05:25 -0800
committerSam Judd <judds@google.com>2014-11-06 19:05:25 -0800
commit85dbdad1e5e9fc7b2d9e3e2234058dcce956a047 (patch)
tree3a65bf3b1f85c6df3fc2b2b4326e2a82db8f5248
parente91ade604c4a3c145aacecd8293e9f7a356b5dae (diff)
downloadglide-85dbdad1e5e9fc7b2d9e3e2234058dcce956a047.tar.gz
Add pre/postfix to integration source/javadoc jars
-rw-r--r--integration/okhttp/gradle.properties4
-rw-r--r--integration/volley/gradle.properties4
-rw-r--r--scripts/upload.gradle2
3 files changed, 10 insertions, 0 deletions
diff --git a/integration/okhttp/gradle.properties b/integration/okhttp/gradle.properties
index 9bd5c871..3608bd86 100644
--- a/integration/okhttp/gradle.properties
+++ b/integration/okhttp/gradle.properties
@@ -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
diff --git a/integration/volley/gradle.properties b/integration/volley/gradle.properties
index 48565fee..0db78810 100644
--- a/integration/volley/gradle.properties
+++ b/integration/volley/gradle.properties
@@ -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
diff --git a/scripts/upload.gradle b/scripts/upload.gradle
index f84684b1..a32cd39e 100644
--- a/scripts/upload.gradle
+++ b/scripts/upload.gradle
@@ -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}"
}
}