2022-07-16 21:34:19 +03:00
|
|
|
import org.jetbrains.compose.compose
|
2022-09-10 15:20:01 +03:00
|
|
|
import space.kscience.gradle.KScienceVersions.JVM_TARGET
|
2022-07-23 18:37:14 +03:00
|
|
|
|
2022-07-16 21:34:19 +03:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
id("org.jetbrains.compose")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm {
|
|
|
|
compilations.all {
|
2022-09-10 15:20:01 +03:00
|
|
|
kotlinOptions.jvmTarget = JVM_TARGET.toString()
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
sourceSets {
|
2022-07-23 11:24:37 +03:00
|
|
|
commonMain {
|
|
|
|
dependencies {
|
2022-07-23 10:27:58 +03:00
|
|
|
api("io.github.microutils:kotlin-logging:2.1.23")
|
|
|
|
api(compose.foundation)
|
|
|
|
}
|
|
|
|
}
|
2022-07-16 21:34:19 +03:00
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
2022-07-23 10:27:58 +03:00
|
|
|
api(compose.desktop.currentOs)
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-10 15:20:01 +03:00
|
|
|
|
|
|
|
java{
|
|
|
|
targetCompatibility = JVM_TARGET
|
|
|
|
}
|