maps-kt/maps-kt-compose/build.gradle.kts

30 lines
722 B
Plaintext
Raw Permalink Normal View History

2022-07-16 21:34:19 +03:00
import org.jetbrains.compose.compose
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
`maven-publish`
}
val ktorVersion: String by rootProject.extra
kotlin {
2022-07-23 11:24:37 +03:00
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Warning
2022-07-16 21:34:19 +03:00
jvm {
compilations.all {
kotlinOptions.jvmTarget = "11"
}
}
sourceSets {
2022-07-23 11:24:37 +03:00
commonMain {
dependencies {
2022-07-23 11:30:33 +03:00
api(projects.mapsKtCore)
2022-07-16 21:34:19 +03:00
api(compose.foundation)
api("io.ktor:ktor-client-core:$ktorVersion")
2022-07-23 11:24:37 +03:00
api("io.github.microutils:kotlin-logging:2.1.23")
2022-07-16 21:34:19 +03:00
}
}
val jvmMain by getting
val jvmTest by getting
}
}