mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
* Update versions in examples * Add more scripts to validate example on android and k/js * Add validateExamplesIos.sh * Update CHANGELOG.md for 1.3.0 * check examples with 1.3.0-rc06 * Update the versions: compose-multiplatform - 1.3.0, kotlin - 1.8.0 * Update ComposeCompilerCompatibility (1.4.0) * Update web/yarn.lock
54 lines
1.1 KiB
Kotlin
54 lines
1.1 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose")
|
|
}
|
|
|
|
kotlin {
|
|
android()
|
|
jvm("desktop")
|
|
|
|
sourceSets {
|
|
named("commonMain") {
|
|
dependencies {
|
|
api(compose.runtime)
|
|
api(compose.foundation)
|
|
api(compose.material)
|
|
api(compose.materialIconsExtended)
|
|
}
|
|
}
|
|
named("androidMain") {
|
|
dependencies {
|
|
api("androidx.appcompat:appcompat:1.5.1")
|
|
api("androidx.core:core-ktx:1.8.0")
|
|
}
|
|
}
|
|
named("desktopMain") {
|
|
dependencies {
|
|
api(compose.desktop.common)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
targetSdk = 33
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
sourceSets {
|
|
named("main") {
|
|
manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
res.srcDirs("src/androidMain/res", "src/commonMain/resources")
|
|
}
|
|
}
|
|
}
|