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

34 lines
863 B
Plaintext
Raw 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 {
2022-09-10 15:20:01 +03:00
kotlinOptions.jvmTarget = space.kscience.gradle.KScienceVersions.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 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
}
2022-09-10 15:20:01 +03:00
}
java{
targetCompatibility = space.kscience.gradle.KScienceVersions.JVM_TARGET
2022-07-16 21:34:19 +03:00
}