Localize dependencies
This CL changes lifecycles setup to use local prebuilts
instead of maven central.
It also adds ./localize.sh to download new dependencies
into prebuilts.
Change-Id: Iae8b5b62d61d7105081cc248f613b60b7229586a
diff --git a/lifecycle/extensions/build.gradle b/lifecycle/extensions/build.gradle
index 1bfa9e4..dad0ff4 100644
--- a/lifecycle/extensions/build.gradle
+++ b/lifecycle/extensions/build.gradle
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'
android {
- compileSdkVersion 24
- buildToolsVersion "25.0.0"
+ compileSdkVersion compile_sdk_version
+ buildToolsVersion build_tools_version
defaultConfig {
- minSdkVersion 14
- targetSdkVersion 24
+ minSdkVersion min_sdk_version
+ targetSdkVersion target_sdk_version
versionCode 1
versionName "1.0"
@@ -26,6 +26,6 @@
}
dependencies {
compile project(":runtime")
- testCompile 'junit:junit:4.12'
- testCompile "org.mockito:mockito-core:1.9.5"
+ testCompile "junit:junit:$junit_version"
+ testCompile "org.mockito:mockito-core:$mockito_version"
}
\ No newline at end of file