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.
50 lines
1.1 KiB
50 lines
1.1 KiB
plugins { |
|
kotlin("multiplatform") |
|
id("com.android.application") |
|
id("org.jetbrains.compose") |
|
} |
|
|
|
group = "app.group" |
|
|
|
kotlin { |
|
androidTarget { |
|
compilations.all { |
|
kotlinOptions { |
|
jvmTarget = "11" |
|
} |
|
} |
|
} |
|
jvm("desktop") |
|
|
|
sourceSets { |
|
commonMain { |
|
dependencies { |
|
implementation(compose.runtime) |
|
implementation(compose.material) |
|
implementation(compose.components.resources) |
|
} |
|
} |
|
} |
|
} |
|
|
|
android { |
|
compileSdk = 34 |
|
namespace = "org.jetbrains.compose.resources.test" |
|
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") |
|
defaultConfig { |
|
applicationId = "org.example.project" |
|
minSdk = 21 |
|
targetSdk = 34 |
|
versionCode = 1 |
|
versionName = "1.0" |
|
} |
|
buildTypes { |
|
getByName("release") { |
|
initWith(getByName("debug")) |
|
} |
|
} |
|
compileOptions { |
|
sourceCompatibility = JavaVersion.VERSION_11 |
|
targetCompatibility = JavaVersion.VERSION_11 |
|
} |
|
}
|
|
|