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.

40 lines
891 B

4 years ago
plugins {
id("com.android.library")
4 years ago
id("kotlin-multiplatform")
id("org.jetbrains.compose")
}
initDeps(project)
4 years ago
kotlin {
jvm("desktop")
android()
4 years ago
sourceSets {
named("commonMain") {
dependencies {
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material)
4 years ago
}
}
4 years ago
named("androidMain") {
dependencies {
implementation("androidx.appcompat:appcompat:1.3.0")
implementation("androidx.core:core-ktx:1.3.1")
4 years ago
}
}
4 years ago
named("desktopMain") {
dependencies {
implementation(compose.desktop.common)
4 years ago
}
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
4 years ago
}