Avoid lint warnings in build.gradle.kts

This commit is contained in:
Juha Heinanen
2026-01-22 08:06:34 +02:00
parent d5465aa7b8
commit b6abe11dcc

View File

@ -1,3 +1,5 @@
import com.android.build.api.dsl.ApplicationExtension
plugins {
alias(libs.plugins.compose.compiler)
alias(libs.plugins.kotlin.serialization)
@ -5,7 +7,7 @@ plugins {
id("org.jetbrains.kotlin.android")
}
android {
configure<ApplicationExtension> {
compileSdk = 36
ndkVersion = "29.0.14206865"
defaultConfig {
@ -31,11 +33,6 @@ android {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
splits {
abi {
reset()
}
}
buildTypes {
debug {
ndk {
@ -56,9 +53,6 @@ android {
buildConfig = true
compose = true
}
sourceSets {
getByName("main").java.srcDirs("src/main/kotlin")
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")