53 lines
1.4 KiB
Groovy
53 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "net.nullsum.audinaut"
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 201
|
|
versionName '0.5.0'
|
|
setProperty("archivesBaseName", "Audinaut $versionName")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
warning 'InvalidPackage'
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.esotericsoftware:kryo:4.0.2'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'com.github.hannesa2:AndroidSlidingUpPanel:4.1.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.3.1'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "androidx.media:media:1.1.0"
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.61'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
}
|
|
}
|