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")
|
2022-09-17 11:44:34 +03:00
|
|
|
`maven-publish`
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
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-10-09 13:03:36 +03:00
|
|
|
implementation("org.jfree:org.jfree.svg:5.0.3")
|
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
|
|
|
|
2022-12-24 22:59:33 +03:00
|
|
|
java {
|
2022-09-10 15:20:01 +03:00
|
|
|
targetCompatibility = JVM_TARGET
|
|
|
|
}
|