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

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-07-16 21:34:19 +03:00
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
`maven-publish`
}
kotlin {
2022-07-23 11:24:37 +03:00
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Warning
2023-03-15 15:24:23 +03:00
jvmToolchain(11)
jvm()
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 jvmMain by getting {
}
2022-10-12 15:03:02 +03:00
val jvmTest by getting {
dependencies {
2022-10-12 15:03:02 +03:00
implementation("io.ktor:ktor-client-cio")
implementation(compose.desktop.currentOs)
implementation(spclibs.kotlinx.coroutines.test)
2023-04-06 10:03:38 +03:00
implementation(spclibs.logback.classic)
implementation(kotlin("test-junit5"))
2023-04-06 10:03:38 +03:00
implementation("org.junit.jupiter:junit-jupiter:${spclibs.versions.junit.get()}")
}
}
2022-07-16 21:34:19 +03:00
}
2022-09-10 15:20:01 +03:00
}
tasks.withType<Test> {
useJUnitPlatform()
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
}