summaryrefslogtreecommitdiff
path: root/sw-ui-kt
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2019-07-30 01:14:13 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2019-08-03 17:25:10 +0200
commitdf825fc067b80a1a6f18fc3293ade49854160e55 (patch)
treea15928809e9b94b69d2819b10adacd65e6716bf1 /sw-ui-kt
parentUse conventions for dev server (diff)
downloadseven-wonders-df825fc067b80a1a6f18fc3293ade49854160e55.tar.gz
seven-wonders-df825fc067b80a1a6f18fc3293ade49854160e55.tar.bz2
seven-wonders-df825fc067b80a1a6f18fc3293ade49854160e55.zip
Cleanup react/redux dependencies
Diffstat (limited to 'sw-ui-kt')
-rw-r--r--sw-ui-kt/build.gradle.kts16
1 files changed, 9 insertions, 7 deletions
diff --git a/sw-ui-kt/build.gradle.kts b/sw-ui-kt/build.gradle.kts
index 9dd87159..66622368 100644
--- a/sw-ui-kt/build.gradle.kts
+++ b/sw-ui-kt/build.gradle.kts
@@ -19,14 +19,16 @@ kotlin {
implementation(kotlin("stdlib-js"))
implementation(project(":sw-client"))
- implementation("org.jetbrains:kotlin-react:16.8.6-pre.80-kotlin-1.3.41")
- implementation(npm("react", "16.8.6"))
+ val kotlinWrappersVersion = "pre.80-kotlin-1.3.41"
+ val reactVersion = "16.8.6"
+ implementation("org.jetbrains:kotlin-react:$reactVersion-$kotlinWrappersVersion")
+ implementation(npm("react", reactVersion))
+ implementation("org.jetbrains:kotlin-react-dom:$reactVersion-$kotlinWrappersVersion")
+ implementation(npm("react-dom", reactVersion))
- implementation("org.jetbrains:kotlin-react-dom:16.8.6-pre.80-kotlin-1.3.41")
- implementation(npm("react-dom", "16.8.6"))
-
- implementation("org.jetbrains:kotlin-react-redux:5.0.7-pre.80-kotlin-1.3.41")
- implementation(npm("react-redux", "5.0.7"))
+ val reactReduxVersion = "5.0.7"
+ implementation("org.jetbrains:kotlin-react-redux:$reactReduxVersion-$kotlinWrappersVersion")
+ implementation(npm("react-redux", reactReduxVersion))
implementation(npm("redux", "4.0.4"))
// seems to be required by "kotlin-extensions" JS lib
bgstack15