2022-07-16 21:34:19 +03:00
|
|
|
plugins {
|
2023-04-11 17:08:28 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2024-06-04 14:38:21 +03:00
|
|
|
alias(spclibs.plugins.compose.compiler)
|
|
|
|
alias(spclibs.plugins.compose.jb)
|
2023-10-01 11:12:15 +03:00
|
|
|
// id("com.android.library")
|
2022-07-16 21:34:19 +03:00
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
2023-10-01 11:22:02 +03:00
|
|
|
kscience {
|
2023-03-15 15:24:23 +03:00
|
|
|
jvm()
|
2024-02-23 12:11:43 +03:00
|
|
|
wasm()
|
|
|
|
|
2023-10-01 11:22:02 +03:00
|
|
|
useCoroutines()
|
2023-10-01 14:05:03 +03:00
|
|
|
|
2024-06-04 14:38:21 +03:00
|
|
|
commonMain{
|
|
|
|
api(projects.mapsKtCore)
|
|
|
|
api(projects.mapsKtFeatures)
|
|
|
|
api(compose.foundation)
|
|
|
|
api(project.dependencies.platform(spclibs.ktor.bom))
|
|
|
|
}
|
|
|
|
jvmMain{
|
|
|
|
api("io.ktor:ktor-client-cio")
|
|
|
|
}
|
|
|
|
jvmTest{
|
|
|
|
implementation("io.ktor:ktor-client-cio")
|
|
|
|
implementation(compose.desktop.currentOs)
|
|
|
|
implementation(spclibs.kotlinx.coroutines.test)
|
2022-09-20 13:57:41 +03:00
|
|
|
|
2024-06-04 14:38:21 +03:00
|
|
|
implementation(spclibs.logback.classic)
|
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." }
|
2023-10-01 11:12:15 +03:00
|
|
|
}
|
2023-11-15 16:43:13 +03:00
|
|
|
|
|
|
|
//tasks.getByName<Copy>("downloadWix"){
|
|
|
|
// duplicatesStrategy = DuplicatesStrategy.WARN
|
|
|
|
//}
|