summaryrefslogtreecommitdiffhomepage
path: root/app/build.gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-04-27 20:25:42 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2018-04-30 17:30:24 +0530
commitaf57824c148107c13164c460fbd8718b6b0d88f4 (patch)
tree34717266a3c939192d1bfbeb8204b4fb31f1f0b3 /app/build.gradle
parent596904977a62c080254f94e1941c376edcec268e (diff)
wireguard: Extract dependency versions to ext struct
Maintain common versions in a single place Also upgraded the support library to 27.1.1 and databinding library to 3.1.1. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle24
1 files changed, 16 insertions, 8 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 8abd52b3..f8bf2347 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -29,16 +29,24 @@ android {
}
}
}
+ext {
+ databindingVersion = '3.1.1'
+ supportLibsVersion = '27.1.1'
+ daggerVersion = '2.14.1'
+ crossportVersion = '0.2.1'
+ fabLibVersion = '1.10.1'
+ streamsupportVersion = '1.6.0'
+}
dependencies {
- annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1'
- implementation 'com.android.databinding:library:1.3.3'
- implementation 'com.android.support:support-annotations:27.0.2'
- implementation 'com.commonsware.cwac:crossport:0.2.1'
- implementation 'com.getbase:floatingactionbutton:1.10.1'
- implementation 'com.google.dagger:dagger:2.14.1'
- implementation 'net.sourceforge.streamsupport:android-retrofuture:1.6.0'
- implementation 'net.sourceforge.streamsupport:android-retrostreams:1.6.0'
+ annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
+ implementation "com.google.dagger:dagger:$daggerVersion"
+ implementation "com.android.databinding:library:$databindingVersion"
+ implementation "com.android.support:support-annotations:$supportLibsVersion"
+ implementation "com.commonsware.cwac:crossport:$crossportVersion"
+ implementation "com.getbase:floatingactionbutton:$fabLibVersion"
+ implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
+ implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
}
repositories {