MicroUtils/defaultAndroidSettings.gradle

38 lines
1.1 KiB
Groovy
Raw Normal View History

2020-12-02 10:21:31 +00:00
apply plugin: 'com.getkeepsafe.dexcount'
2020-11-10 09:43:15 +00:00
android {
namespace "${group}.${project.name}"
2022-03-10 11:04:05 +00:00
compileSdkVersion libs.versions.android.props.compileSdk.get().toInteger()
buildToolsVersion libs.versions.android.props.buildTools.get()
2020-11-10 09:43:15 +00:00
defaultConfig {
2022-03-10 11:04:05 +00:00
minSdkVersion libs.versions.android.props.minSdk.get().toInteger()
targetSdkVersion libs.versions.android.props.compileSdk.get().toInteger()
2020-11-10 09:43:15 +00:00
versionCode "${android_code_version}".toInteger()
versionName "$version"
}
buildTypes {
release {
minifyEnabled false
}
2020-11-11 10:06:44 +00:00
debug {
debuggable true
}
2020-11-10 09:43:15 +00:00
}
packagingOptions {
exclude 'META-INF/kotlinx-serialization-runtime.kotlin_module'
exclude 'META-INF/kotlinx-serialization-cbor.kotlin_module'
exclude 'META-INF/kotlinx-serialization-properties.kotlin_module'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}