2022-07-16 21:34:19 +03:00
|
|
|
plugins {
|
2023-04-11 17:08:28 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2022-07-16 21:34:19 +03:00
|
|
|
id("org.jetbrains.compose")
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2023-04-11 17:08:28 +03:00
|
|
|
kscience{
|
2023-03-15 15:24:23 +03:00
|
|
|
jvm()
|
2023-04-11 17:08:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
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-12-23 22:16:16 +03:00
|
|
|
api(projects.mapsKtFeatures)
|
2022-07-16 21:34:19 +03:00
|
|
|
api(compose.foundation)
|
2022-10-12 15:03:02 +03:00
|
|
|
api(project.dependencies.platform(spclibs.ktor.bom))
|
|
|
|
api("io.ktor:ktor-client-core")
|
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
|
|
|
}
|
|
|
|
}
|
2022-10-12 15:03:02 +03:00
|
|
|
val jvmTest by getting {
|
2022-09-20 13:57:41 +03:00
|
|
|
dependencies {
|
2022-10-12 15:03:02 +03:00
|
|
|
implementation("io.ktor:ktor-client-cio")
|
2022-09-20 13:57:41 +03:00
|
|
|
implementation(compose.desktop.currentOs)
|
|
|
|
implementation(spclibs.kotlinx.coroutines.test)
|
|
|
|
|
2023-04-06 10:03:38 +03:00
|
|
|
implementation(spclibs.logback.classic)
|
2022-09-20 13:57:41 +03:00
|
|
|
}
|
|
|
|
}
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|
2022-09-10 15:20:01 +03:00
|
|
|
}
|
|
|
|
|
2023-01-12 11:52:54 +03:00
|
|
|
readme {
|
|
|
|
description = "Compose-multiplaform implementation for web-mercator tiled maps"
|
|
|
|
maturity = space.kscience.gradle.Maturity.EXPERIMENTAL
|
|
|
|
propertyByTemplate("artifact", rootProject.file("docs/templates/ARTIFACT-TEMPLATE.md"))
|
|
|
|
|
|
|
|
feature(
|
|
|
|
id = "osm",
|
|
|
|
) { "OpenStreetMap tile provider." }
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|