aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-09-18 09:53:31 -0700
committerKenny Root <kenny@the-b.org>2015-09-18 09:53:31 -0700
commit708e2db0bf5e3bfbb48bf94d604ef883970a2b92 (patch)
treee39d570130a63da76124aef86e7e8c8d005759b1
parent348b7c2e4e679cf9a81f3a18cb7b21262c7f19b9 (diff)
parent3922c6256683470f1a507745f3c4c39dcbafd75d (diff)
downloadconnectbot-708e2db0bf5e3bfbb48bf94d604ef883970a2b92.tar.gz
connectbot-708e2db0bf5e3bfbb48bf94d604ef883970a2b92.tar.bz2
connectbot-708e2db0bf5e3bfbb48bf94d604ef883970a2b92.zip
Merge pull request #220 from kruton/dependency-variables
Use variables to set the dependency versions
-rw-r--r--app/build.gradle24
1 files changed, 15 insertions, 9 deletions
diff --git a/app/build.gradle b/app/build.gradle
index dd16ccb..1526ab7 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,6 +5,12 @@ apply from: '../config/quality.gradle'
apply from: '../config/translations.gradle'
apply from: '../config/jacoco.gradle'
+ext {
+ supportLibraryVersion = '23.0.1'
+ testRunnerVersion = '0.3'
+ espressoVersion = '2.2'
+}
+
buildscript {
repositories {
jcenter()
@@ -59,24 +65,24 @@ android {
}
dependencies {
- compile 'com.android.support:recyclerview-v7:+'
- compile "com.android.support:support-v4:23.0.1"
- compile "com.android.support:appcompat-v7:23.0.1"
- compile "com.android.support:design:23.0.1"
+ compile "com.android.support:recyclerview-v7:$supportLibraryVersion"
+ compile "com.android.support:support-v4:$supportLibraryVersion"
+ compile "com.android.support:appcompat-v7:$supportLibraryVersion"
+ compile "com.android.support:design:$supportLibraryVersion"
- androidTestCompile('com.android.support.test:runner:0.3') {
+ androidTestCompile("com.android.support.test:runner:$testRunnerVersion") {
exclude module: "support-annotations"
}
- androidTestCompile('com.android.support.test:rules:0.3') {
+ androidTestCompile("com.android.support.test:rules:$testRunnerVersion") {
exclude module: "support-annotations"
}
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2') {
+ androidTestCompile("com.android.support.test.espresso:espresso-core:$espressoVersion") {
exclude module: "support-annotations"
}
- androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2') {
+ androidTestCompile("com.android.support.test.espresso:espresso-intents:$espressoVersion") {
exclude module: "support-annotations"
}
- androidTestCompile ('com.android.support.test.espresso:espresso-contrib:2.2'){
+ androidTestCompile("com.android.support.test.espresso:espresso-contrib:$espressoVersion") {
exclude module: 'support-annotations'
exclude module: 'support-v4'
exclude module: 'support-v13'