57 lines
1.4 KiB
Groovy
57 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion "28.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "net.nullsum.audinaut"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 197
|
|
versionName '0.3.2'
|
|
setProperty("archivesBaseName", "Audinaut $versionName")
|
|
resConfigs "de", "es", "fr", "hu", "nl", "pt-rPT", "ru", "sv"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/beans.xml'
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
warning 'InvalidPackage'
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.esotericsoftware:kryo:4.0.2'
|
|
implementation "com.android.support:design:$android_support_version"
|
|
implementation 'com.sothree.slidinguppanel:library:3.3.1'
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.10'
|
|
ext.android_support_version = '27.1.1'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
}
|
|
}
|