Update kotlin version, update to kotlin-komponent 1.0.0
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackOutput.Target.VAR
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.4.30"
|
||||
kotlin("multiplatform") version "1.6.10"
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
group = "nl.astraeus"
|
||||
version = "0.1.0-SNAPSHOT"
|
||||
version = "1.0.0"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven {
|
||||
url = uri("http://nexus.astraeus.nl/nexus/content/groups/public")
|
||||
}
|
||||
}
|
||||
|
||||
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) {
|
||||
js((IR)) {
|
||||
binaries.executable()
|
||||
browser {
|
||||
//produceKotlinLibrary()
|
||||
@@ -37,13 +34,9 @@ kotlin {
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
implementation("nl.astraeus:komp:0.2.5-SNAPSHOT")
|
||||
}
|
||||
}
|
||||
val jsMain by getting {
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib-js"))
|
||||
implementation("nl.astraeus:kotlin-komponent:1.0.0")
|
||||
}
|
||||
}
|
||||
val jsMain by getting
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user