aboutsummaryrefslogtreecommitdiff
path: root/library/build.gradle
diff options
context:
space:
mode:
authorSam Judd <judds@google.com>2014-06-26 20:15:45 -0700
committerSam Judd <judds@google.com>2014-06-27 07:34:08 -0700
commit53c16e03081b659c2c9009721b1a50728d4fae80 (patch)
treee49c66770cd14cb00d336da8255014c72094d8b1 /library/build.gradle
parent6cdebac98d36c87ff41f44f1eed75f3115428688 (diff)
downloadglide-53c16e03081b659c2c9009721b1a50728d4fae80.tar.gz
Add javadoc generation and fix javadoc warnings.
Diffstat (limited to 'library/build.gradle')
-rw-r--r--library/build.gradle12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/build.gradle b/library/build.gradle
index 55e637f5..078ee3fa 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -1,5 +1,3 @@
-import org.apache.tools.ant.taskdefs.Delete
-
buildscript {
repositories {
mavenCentral()
@@ -35,8 +33,9 @@ dependencies {
androidTestCompile 'org.hamcrest:hamcrest-core:1.3'
androidTestCompile 'junit:junit:4.11'
androidTestCompile 'org.mockito:mockito-all:1.9.5'
- androidTestCompile 'org.robolectric:robolectric:2.3'
- androidTestCompile group: 'org.robolectric', name: 'robolectric', version: '2.4-SNAPSHOT', changing: true
+ androidTestCompile (group: 'org.robolectric', name: 'robolectric', version: '2.4-SNAPSHOT', changing: true) {
+ exclude group: 'commons-logging:commons-logging:1.1.1'
+ }
}
ext {
@@ -77,8 +76,9 @@ def getJarName() {
return "glide-${getVersionName()}.jar"
}
-//Build a jar, from http://stackoverflow.com/a/19037807/1002054
-task clearJar(type: org.gradle.api.tasks.Delete) {
+// Build a jar, from http://stackoverflow.com/a/19037807/1002054.
+// TODO: this needs to be batched to include code from gif_decoder.
+task clearJar(type: Delete) {
delete "build/libs/${getJarName()}"
}