aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorSam Judd <judds@google.com>2014-11-01 10:38:35 -0700
committerSam Judd <judds@google.com>2014-11-02 14:14:09 -0800
commitdc155ae8b22d0c59ce19d57f1a7b6eb35a660d47 (patch)
tree277c8c2e6e5b2485a601607f75cf217295f3d5b7 /library
parentdd737542dc2f6d58cfb1367929c8d3ebc1eeebf4 (diff)
downloadglide-dc155ae8b22d0c59ce19d57f1a7b6eb35a660d47.tar.gz
Set fixed dependency versions using properties.
Diffstat (limited to 'library')
-rw-r--r--library/build.gradle25
1 files changed, 13 insertions, 12 deletions
diff --git a/library/build.gradle b/library/build.gradle
index 66c86131..b913861a 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -12,26 +12,27 @@ dependencies {
compile project(':third_party:gif_decoder')
compile project(':third_party:gif_encoder')
compile project(':third_party:disklrucache')
- compile 'com.android.support:support-v4:19.1.+'
-
- androidTestCompile 'org.hamcrest:hamcrest-core:1.3'
- androidTestCompile 'org.hamcrest:hamcrest-library:1.3'
- androidTestCompile 'junit:junit:4.11'
- androidTestCompile 'org.mockito:mockito-all:1.9.5'
- androidTestCompile 'org.robolectric:robolectric:2.4-SNAPSHOT'
+ compile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
+
+ androidTestCompile "com.android.support:support-v4:${SUPPORT_V4_VERSION}"
+ androidTestCompile "org.hamcrest:hamcrest-core:${HAMCREST_VERSION}"
+ androidTestCompile "org.hamcrest:hamcrest-library:${HAMCREST_VERSION}"
+ androidTestCompile "junit:junit:${JUNIT_VERSION}"
+ androidTestCompile "org.mockito:mockito-all:${MOCKITO_VERSION}"
+ androidTestCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
// TODO: increase this to 2.0.+ when we compile against Java 7.
- androidTestCompile 'com.squareup.okhttp:mockwebserver:1.2.+'
+ androidTestCompile "com.squareup.okhttp:mockwebserver:${MOCKWEBSERVER_VERSION}"
}
android {
- compileSdkVersion 19
- buildToolsVersion '19.1.0'
+ compileSdkVersion COMPILE_SDK_VERSION as int
+ buildToolsVersion BUILD_TOOLS_VERSION
defaultConfig {
applicationId 'com.bumptech.glide'
- minSdkVersion 10
+ minSdkVersion MIN_SDK_VERSION as int
+ targetSdkVersion TARGET_SDK_VERSION as int
- targetSdkVersion 19
versionCode = VERSION_CODE
versionName = VERSION_NAME
}