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-12-25 14:33:31 +03:00
|
|
|
api(projects.mapsKtFeatures)
|
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 {
|
2023-02-22 11:10:37 +03:00
|
|
|
implementation("org.jfree:org.jfree.svg:5.0.4")
|
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
|
|
|
|
}
|