MicroUtils/gradle/templates/defaultAndroidSettings.gradle

35 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 {
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()
2024-05-24 09:50:26 +00:00
compileSdkVersion libs.versions.android.props.compileSdk.get().toInteger()
2022-03-10 11:04:05 +00:00
targetSdkVersion libs.versions.android.props.compileSdk.get().toInteger()
2020-11-10 09:43:15 +00:00
versionCode "${android_code_version}".toInteger()
versionName "$version"
2023-09-06 13:15:09 +00:00
namespace "${project.group}.${project.name}"
2020-11-10 09:43:15 +00:00
}
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 {
2023-11-02 13:00:35 +00:00
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
2020-11-10 09:43:15 +00:00
}
}