aboutsummaryrefslogtreecommitdiffstats
path: root/app/build.gradle
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-09-18 06:15:14 -0700
committerKenny Root <kenny@the-b.org>2015-09-18 06:15:14 -0700
commit3922c6256683470f1a507745f3c4c39dcbafd75d (patch)
tree585a8db13a690ad2f5a4ea2848573073de0bbd2a /app/build.gradle
parent2d5eb56a00cb3f2d890cc8f894a1d5844022f236 (diff)
downloadconnectbot-3922c6256683470f1a507745f3c4c39dcbafd75d.tar.gz
connectbot-3922c6256683470f1a507745f3c4c39dcbafd75d.tar.bz2
connectbot-3922c6256683470f1a507745f3c4c39dcbafd75d.zip
Use variables to set the dependency versions
Diffstat (limited to 'app/build.gradle')
-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'