30 lines
729 B
Plaintext
30 lines
729 B
Plaintext
import org.jetbrains.compose.compose
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose")
|
|
`maven-publish`
|
|
}
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
kotlin {
|
|
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Warning
|
|
jvm {
|
|
compilations.all {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
}
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api(projects.mapsKtCoordinates)
|
|
api(compose.foundation)
|
|
api("io.ktor:ktor-client-core:$ktorVersion")
|
|
api("io.github.microutils:kotlin-logging:2.1.23")
|
|
}
|
|
}
|
|
val jvmMain by getting
|
|
val jvmTest by getting
|
|
}
|
|
} |