mirror of
https://github.com/geoffsee/osm-maker-vibes.git
synced 2025-09-08 22:46:45 +00:00
create scaffolding for wasm distribution
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.21"
|
||||
application
|
||||
kotlin("multiplatform") version "2.1.21"
|
||||
}
|
||||
|
||||
group = "org.example"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_23
|
||||
targetCompatibility = JavaVersion.VERSION_23
|
||||
}
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "23"
|
||||
kotlin {
|
||||
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
|
||||
wasmJs {
|
||||
browser()
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -27,16 +25,3 @@ repositories {
|
||||
url = uri("https://mvn.slimjars.com")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.tordanik.OSM2World:osm2world-core:3be7059")
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("org.example.MainKt")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
Reference in New Issue
Block a user