Audinaut-subsonic-app-android/app/build.gradle

52 lines
1.3 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "net.nullsum.audinaut"
minSdkVersion 19
targetSdkVersion 26
versionCode 191
versionName '0.2.2'
setProperty("archivesBaseName", "Audinaut $versionName")
resConfigs "de", "es", "fr", "hu", "nl", "pt-rPT", "ru", "sv"
}
packagingOptions {
exclude 'META-INF/beans.xml'
}
lintOptions {
checkReleaseBuilds false
warning 'InvalidPackage'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
compile 'com.esotericsoftware:kryo:4.0.1'
compile "com.android.support:design:$android_support_version"
compile 'com.sothree.slidinguppanel:library:3.3.1'
compile 'com.squareup.okhttp3:okhttp:3.8.1'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
buildscript {
ext.kotlin_version = '1.1.3-2'
ext.android_support_version = '26.0.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
}