2017-08-27 15:03:22 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'net.ltgt.errorprone'
|
|
|
|
|
|
|
|
configurations.errorprone {
|
|
|
|
resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.0.19'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion sdk_version
|
|
|
|
buildToolsVersion build_tools_version
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 9
|
|
|
|
targetSdkVersion sdk_version
|
|
|
|
|
2018-06-01 14:05:37 +02:00
|
|
|
versionCode 9
|
|
|
|
versionName '1.3.3'
|
2017-08-27 15:03:22 +02:00
|
|
|
|
|
|
|
renderscriptTargetApi 24
|
|
|
|
renderscriptSupportModeEnabled true
|
2018-05-29 21:00:26 +02:00
|
|
|
|
|
|
|
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
androidTest.java.srcDirs += 'src/androidTest/kotlin'
|
2017-08-27 15:03:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix '.debug'
|
|
|
|
}
|
|
|
|
|
|
|
|
release {
|
2017-08-27 18:35:46 +02:00
|
|
|
proguardFiles \
|
|
|
|
getDefaultProguardFile('proguard-android.txt'), \
|
|
|
|
'proguard-rules.pro'
|
2017-08-27 15:03:22 +02:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
// because at the time of writing, even the latest version
|
|
|
|
// of RenderScript is raising this error no matter if
|
|
|
|
// renderscriptTargetApi matches targetSdkVersion
|
|
|
|
disable 'GradleCompatible'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-05-29 21:00:26 +02:00
|
|
|
androidTestImplementation ('com.android.support.test:runner:1.0.2') {
|
|
|
|
exclude module: 'support-annotations'
|
|
|
|
}
|
|
|
|
androidTestImplementation ('com.android.support.test:rules:1.0.2') {
|
|
|
|
exclude module: 'support-annotations'
|
|
|
|
}
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
|
2017-02-28 21:14:37 +01:00
|
|
|
implementation fileTree(dir: 'libs', include: '*')
|
2018-05-29 19:47:28 +02:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2017-02-28 21:14:37 +01:00
|
|
|
implementation "com.android.support:appcompat-v7:$support_version"
|
|
|
|
implementation "com.android.support:design:$support_version"
|
2017-08-27 15:03:22 +02:00
|
|
|
}
|