Marian Schubert
03/25/2020, 5:13 PM1.4-M1
but ./gradlew run
no longer exists. What should I use instead?turansky
03/25/2020, 5:16 PMbrowser
target?
prcessExecutable()
?
Both used?Marian Schubert
03/25/2020, 5:16 PMkotlin.target.browser { }
Marian Schubert
03/25/2020, 5:23 PMplugins {
id("org.jetbrains.kotlin.js") version "1.4-M1"
}
is OK? 😕Ivan Kubyshkin [JetBrains]
03/25/2020, 6:24 PMIvan Kubyshkin [JetBrains]
03/25/2020, 6:24 PMIvan Kubyshkin [JetBrains]
03/25/2020, 6:24 PMMarian Schubert
03/25/2020, 6:45 PMMarian Schubert
03/25/2020, 6:45 PMError:kotlin: Could not find "/Users/maio/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.4-M1/18b564b5b182481143f441f1b99cc2d11fc3f9a4/kotlin-stdlib-common-1.4-M1.jar" in [/Users/maio/Library/Application Support/kotlin/daemon].
😕turansky
03/25/2020, 6:48 PMturansky
03/25/2020, 6:48 PMMarian Schubert
03/25/2020, 6:51 PMrepositories {
mavenCentral()
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
maven("<https://kotlin.bintray.com/kotlinx>")
maven("<https://dl.bintray.com/kotlin/kotlin-dev>")
maven("<https://kotlin.bintray.com/kotlin-js-wrappers/>")
jcenter()
}
Marian Schubert
03/25/2020, 7:01 PMMarian Schubert
03/25/2020, 7:02 PM./gradlew run
doesn't fail. but js is somehow broken Uncaught TypeError: _this_._set_a_ is not a function
turansky
03/25/2020, 7:02 PMir
?turansky
03/25/2020, 7:03 PM@JsExport
?Marian Schubert
03/25/2020, 7:05 PMMarian Schubert
03/25/2020, 7:06 PMturansky
03/25/2020, 7:08 PM@JsExport
required if you want export your methods/classesturansky
03/25/2020, 7:09 PMbashor
03/30/2020, 12:27 PM