fix build error, and disable SNAPSHOT kvision checking

This commit is contained in:
Adam 2022-01-09 17:39:24 +01:00
parent b9190b1948
commit 4e8a0c4f69

View file

@ -13,7 +13,7 @@ kotlin {
browser { browser {
runTask { runTask {
outputFileName = "main.bundle.js" outputFileName = "main.bundle.js"
sourceMaps = true sourceMaps = false
devServer = KotlinWebpackConfig.DevServer( devServer = KotlinWebpackConfig.DevServer(
open = false, open = false,
port = 3000, port = 3000,
@ -83,7 +83,7 @@ fun KotlinDependencyHandler.kvision(
module: String, module: String,
version: Provider<String> = libs.versions.kvision, version: Provider<String> = libs.versions.kvision,
configure: ExternalModuleDependency.() -> Unit = { configure: ExternalModuleDependency.() -> Unit = {
isChanging = true // isChanging = true
} }
) { ) {
implementation("io.kvision:$module:${version.get()}", configure) implementation("io.kvision:$module:${version.get()}", configure)