More properties, val i.o. fun

This commit is contained in:
2020-03-22 16:40:18 +01:00
parent 7a92e53006
commit 2bf19fd647
75 changed files with 1121 additions and 614 deletions

View File

@@ -1,5 +1,5 @@
plugins {
kotlin("multiplatform") version "1.3.70-eap-184"
kotlin("multiplatform") version "1.4-M1"
}
group = "nl.astraeus"
@@ -10,14 +10,21 @@ repositories {
mavenCentral()
}
apply(plugin = "kotlin-dce-js")
//apply(plugin = "kotlin-dce-js")
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 */
jvm()
js()
js {
produceExecutable()
browser {
distribution {
directory = File("$projectDir/web/")
}
}
}
sourceSets {
val commonMain by getting {