diff options
author | Harsh Shandilya <harsh@prjkt.io> | 2018-04-27 20:25:42 +0530 |
---|---|---|
committer | Harsh Shandilya <harsh@prjkt.io> | 2018-04-30 17:30:24 +0530 |
commit | 0a92cf9f32cd3ea55c34070eddb33ed4a273a53f (patch) | |
tree | 34717266a3c939192d1bfbeb8204b4fb31f1f0b3 /app/build.gradle | |
parent | 8f3bdc1cedc607b963e6e3be915dc075309af9f1 (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 <harsh@prjkt.io>
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 24 |
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 { |