You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
853 B
43 lines
853 B
2 years ago
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
android()
|
||
|
jvm("desktop")
|
||
|
sourceSets {
|
||
|
named("commonMain") {
|
||
|
dependencies {
|
||
|
implementation(compose.runtime)
|
||
|
implementation(compose.foundation)
|
||
|
implementation(compose.material)
|
||
|
implementation(compose.ui)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdk = 32
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk = 26
|
||
|
targetSdk = 32
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
named("main") {
|
||
|
manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
||
|
res.srcDirs("src/androidMain/res")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|