maps-kt/maps-kt-scheme/build.gradle.kts
2023-02-22 11:10:37 +03:00

35 lines
763 B
Plaintext

import space.kscience.gradle.KScienceVersions.JVM_TARGET
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
`maven-publish`
}
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = JVM_TARGET.toString()
}
}
sourceSets {
commonMain {
dependencies {
api(projects.mapsKtFeatures)
api("io.github.microutils:kotlin-logging:2.1.23")
api(compose.foundation)
}
}
val jvmMain by getting {
dependencies {
implementation("org.jfree:org.jfree.svg:5.0.4")
api(compose.desktop.currentOs)
}
}
}
}
java {
targetCompatibility = JVM_TARGET
}