31 lines
706 B
Kotlin
31 lines
706 B
Kotlin
plugins {
|
|
id("library-conventions")
|
|
id(libs.plugins.kotlin.multiplatform.get().pluginId)
|
|
id(libs.plugins.mavenPublish.get().pluginId)
|
|
}
|
|
|
|
mavenPublishing {
|
|
pom {
|
|
name = "MapLibre GL JS Bindings"
|
|
description = "Kotlin bindings for MapLibre GL JS."
|
|
url = "https://github.com/maplibre/maplibre-compose"
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
js(IR) { browser() }
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation(kotlin("stdlib-js"))
|
|
implementation(npm("maplibre-gl", libs.versions.maplibre.js.get()))
|
|
}
|
|
|
|
commonTest.dependencies {
|
|
implementation(kotlin("test"))
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
}
|
|
}
|
|
}
|