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.
39 lines
986 B
39 lines
986 B
plugins { |
|
kotlin("multiplatform") |
|
kotlin("plugin.compose") |
|
id("com.android.application") |
|
id("org.jetbrains.compose") |
|
} |
|
|
|
kotlin { |
|
androidTarget() |
|
sourceSets { |
|
val androidMain by getting { |
|
dependencies { |
|
implementation(project(":shared")) |
|
} |
|
} |
|
} |
|
} |
|
|
|
android { |
|
compileSdk = (findProperty("android.compileSdk") as String).toInt() |
|
namespace = "com.myapplication" |
|
|
|
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") |
|
|
|
defaultConfig { |
|
applicationId = "com.myapplication.MyApplication" |
|
minSdk = (findProperty("android.minSdk") as String).toInt() |
|
targetSdk = (findProperty("android.targetSdk") as String).toInt() |
|
versionCode = 1 |
|
versionName = "1.0" |
|
} |
|
compileOptions { |
|
sourceCompatibility = JavaVersion.VERSION_17 |
|
targetCompatibility = JavaVersion.VERSION_17 |
|
} |
|
kotlin { |
|
jvmToolchain(17) |
|
} |
|
}
|
|
|