Skip to content

Commit 0d61fe8

Browse files
authored
fix(webinterface): single variable for kvisionVersion (#216)
1 parent 4ca104d commit 0d61fe8

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

webinterface/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
99

1010
// Versions
11-
val kvisionVersion = "8.2.0"
11+
val kotlinVersion: String by System.getProperties()
12+
val kvisionVersion: String by System.getProperties()
1213

1314
val webDir = file("src/jsMain/web")
1415

1516
plugins {
16-
val kotlinVersion = "2.1.10"
17-
val kvisionVersion = "8.2.0"
18-
17+
val kotlinVersion: String by System.getProperties()
18+
val kvisionVersion: String by System.getProperties()
1919
kotlin("plugin.serialization") version kotlinVersion
2020
kotlin("multiplatform") version kotlinVersion
2121
id("io.kvision") version kvisionVersion

webinterface/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
# that can be found in the LICENSE file.
66
#
77
kotlin.js.compiler=ir
8+
systemProp.kotlinVersion=2.1.10
9+
systemProp.kvisionVersion=8.2.0

0 commit comments

Comments
 (0)