42 lines
933 B
Kotlin
42 lines
933 B
Kotlin
plugins {
|
|
kotlin("multiplatform") version "1.7.20"
|
|
`maven-publish`
|
|
}
|
|
|
|
group = "nl.astraeus"
|
|
version = "1.0.0"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
kotlin {
|
|
/* Targets configuration omitted.
|
|
* To find out how to configure the targets, please follow the link:
|
|
* https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets */
|
|
js(IR) {
|
|
binaries.executable()
|
|
browser {
|
|
//produceKotlinLibrary()
|
|
testTask {
|
|
useKarma {
|
|
useChromeHeadless()
|
|
}
|
|
}
|
|
distribution {
|
|
directory = File("$projectDir/web/")
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation("nl.astraeus:kotlin-komponent:1.0.7")
|
|
}
|
|
}
|
|
val jsMain by getting
|
|
}
|
|
}
|