summaryrefslogtreecommitdiff
path: root/sw-ui/build.gradle.kts
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-10-31 13:45:14 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-11-25 01:51:30 +0100
commit35bdbef15323c43235add21a000a7cc1d2ea8893 (patch)
tree268c865b34ce9e927541ff3804e6a6f220a694c6 /sw-ui/build.gradle.kts
parentAdd .idea to gitignore for jetbrains dev (diff)
downloadseven-wonders-35bdbef15323c43235add21a000a7cc1d2ea8893.tar.gz
seven-wonders-35bdbef15323c43235add21a000a7cc1d2ea8893.tar.bz2
seven-wonders-35bdbef15323c43235add21a000a7cc1d2ea8893.zip
Upgrade dependencies
- Kotlinx Coroutines to 1.4.1 - Kotlinx Serialization to 1.0.0 - Krossbow to 1.1.0
Diffstat (limited to 'sw-ui/build.gradle.kts')
-rw-r--r--sw-ui/build.gradle.kts19
1 files changed, 11 insertions, 8 deletions
diff --git a/sw-ui/build.gradle.kts b/sw-ui/build.gradle.kts
index 1afa3308..f87ac49f 100644
--- a/sw-ui/build.gradle.kts
+++ b/sw-ui/build.gradle.kts
@@ -9,7 +9,7 @@ repositories {
maven(url = "https://kotlin.bintray.com/kotlin-js-wrappers")
}
-val kotlinWrappersVersion = "pre.112-kotlin-1.4.0"
+val kotlinWrappersVersion = "pre.129-kotlin-1.4.10"
kotlin {
js {
@@ -21,24 +21,27 @@ kotlin {
dependencies {
implementation(project(":sw-client"))
- val reactVersion = "16.13.1"
+ val reactVersion = "17.0.0"
implementation("org.jetbrains:kotlin-react:$reactVersion-$kotlinWrappersVersion")
implementation(npm("react", reactVersion))
implementation("org.jetbrains:kotlin-react-dom:$reactVersion-$kotlinWrappersVersion")
implementation(npm("react-dom", reactVersion))
- val reactReduxVersion = "5.0.7"
+ val reactReduxVersion = "7.2.1"
implementation("org.jetbrains:kotlin-react-redux:$reactReduxVersion-$kotlinWrappersVersion")
implementation(npm("react-redux", reactReduxVersion))
- implementation(npm("redux", "4.0.4"))
+ // redux version aligned with the wrapper's build:
+ // https://github.com/JetBrains/kotlin-wrappers/blob/master/gradle.properties#L39
+ implementation(npm("redux", "4.0.5"))
- val reactRouterDomVersion = "5.1.2"
+ val reactRouterDomVersion = "5.2.0"
implementation("org.jetbrains:kotlin-react-router-dom:$reactRouterDomVersion-$kotlinWrappersVersion")
implementation(npm("react-router-dom", reactRouterDomVersion))
- implementation("org.jetbrains:kotlin-styled:1.0.0-$kotlinWrappersVersion")
- implementation(npm("styled-components", "4.3.2"))
- implementation(npm("inline-style-prefixer", "5.1.0"))
+ val styledComponentsVersion = "5.2.0"
+ implementation("org.jetbrains:kotlin-styled:$styledComponentsVersion-$kotlinWrappersVersion")
+ implementation(npm("styled-components", styledComponentsVersion))
+ implementation(npm("inline-style-prefixer", "6.0.0"))
// seems to be required by "kotlin-extensions" JS lib
implementation(npm("core-js", "3.1.4"))
bgstack15