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>
This commit is contained in:
Harsh Shandilya 2018-04-27 20:25:42 +05:30
parent 596904977a
commit af57824c14

View File

@ -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 { dependencies {
annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1' annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
implementation 'com.android.databinding:library:1.3.3' implementation "com.google.dagger:dagger:$daggerVersion"
implementation 'com.android.support:support-annotations:27.0.2' implementation "com.android.databinding:library:$databindingVersion"
implementation 'com.commonsware.cwac:crossport:0.2.1' implementation "com.android.support:support-annotations:$supportLibsVersion"
implementation 'com.getbase:floatingactionbutton:1.10.1' implementation "com.commonsware.cwac:crossport:$crossportVersion"
implementation 'com.google.dagger:dagger:2.14.1' implementation "com.getbase:floatingactionbutton:$fabLibVersion"
implementation 'net.sourceforge.streamsupport:android-retrofuture:1.6.0' implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
implementation 'net.sourceforge.streamsupport:android-retrostreams:1.6.0' implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
} }
repositories { repositories {