2017-07-29 06:10:37 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-01-07 08:33:11 +01:00
|
|
|
buildToolsVersion '27.0.3'
|
2017-07-29 06:10:37 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2018-04-30 16:56:48 +02:00
|
|
|
minifyEnabled true
|
2017-07-29 06:10:37 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2017-12-26 21:06:32 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2017-11-08 05:52:50 +01:00
|
|
|
compileSdkVersion 27
|
2017-07-29 06:10:37 +02:00
|
|
|
dataBinding {
|
|
|
|
enabled true
|
|
|
|
}
|
|
|
|
defaultConfig {
|
2017-11-29 03:15:40 +01:00
|
|
|
applicationId 'com.wireguard.android'
|
2017-07-29 06:10:37 +02:00
|
|
|
minSdkVersion 21
|
2017-11-08 05:52:50 +01:00
|
|
|
targetSdkVersion 27
|
2018-04-28 04:56:12 +02:00
|
|
|
versionCode 406
|
|
|
|
versionName '0.4.1'
|
2017-07-29 06:10:37 +02:00
|
|
|
}
|
2017-12-05 03:50:36 +01:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path 'tools/CMakeLists.txt'
|
|
|
|
}
|
|
|
|
}
|
2017-07-29 06:10:37 +02:00
|
|
|
}
|
2018-04-27 16:55:42 +02:00
|
|
|
ext {
|
2018-04-29 06:53:11 +02:00
|
|
|
databindingVersion = '3.1.2'
|
2018-04-27 16:55:42 +02:00
|
|
|
supportLibsVersion = '27.1.1'
|
|
|
|
daggerVersion = '2.14.1'
|
|
|
|
fabLibVersion = '1.10.1'
|
|
|
|
streamsupportVersion = '1.6.0'
|
|
|
|
}
|
2017-07-29 06:10:37 +02:00
|
|
|
|
|
|
|
dependencies {
|
2018-04-27 16:55:42 +02:00
|
|
|
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"
|
2018-04-27 18:59:27 +02:00
|
|
|
implementation "com.android.support:appcompat-v7:$supportLibsVersion"
|
2018-04-29 07:11:08 +02:00
|
|
|
implementation "com.android.support:design:$supportLibsVersion"
|
2018-04-30 15:35:21 +02:00
|
|
|
implementation "com.android.support:preference-v14:$supportLibsVersion"
|
2018-04-27 16:55:42 +02:00
|
|
|
implementation "com.getbase:floatingactionbutton:$fabLibVersion"
|
|
|
|
implementation "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
|
|
|
|
implementation "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
|
2017-07-29 06:10:37 +02:00
|
|
|
}
|