Files
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

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"))
}
}
}