summaryrefslogtreecommitdiff
path: root/sw-ui/build.gradle.kts
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-04-04 01:54:38 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2021-04-04 01:54:38 +0200
commit7add0bce2cb8067c2a0b8b7a28644d9b51c1ba34 (patch)
treeeac1446d58f38708bf067c9989ab1a7c0ecf3c41 /sw-ui/build.gradle.kts
parentMove bot timeout metric before disconnect() call (in case of failure) (diff)
downloadseven-wonders-7add0bce2cb8067c2a0b8b7a28644d9b51c1ba34.tar.gz
seven-wonders-7add0bce2cb8067c2a0b8b7a28644d9b51c1ba34.tar.bz2
seven-wonders-7add0bce2cb8067c2a0b8b7a28644d9b51c1ba34.zip
Upgrade JS wrapper libraries & repositories
Diffstat (limited to 'sw-ui/build.gradle.kts')
-rw-r--r--sw-ui/build.gradle.kts16
1 files changed, 10 insertions, 6 deletions
diff --git a/sw-ui/build.gradle.kts b/sw-ui/build.gradle.kts
index 8df6b327..3031c7a6 100644
--- a/sw-ui/build.gradle.kts
+++ b/sw-ui/build.gradle.kts
@@ -5,11 +5,15 @@ plugins {
}
repositories {
- // repository added for kotlin-wrappers resolutions
- maven(url = "https://kotlin.bintray.com/kotlin-js-wrappers")
+ mavenCentral()
+ // for kotlin-wrappers resolutions
+ maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-js-wrappers")
+ // for kotlinx-html (dependency of kotlin-react-dom)
+ maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
+ jcenter() // for kotlinx-html-jvm:0.7.2 needed by dokka (and not migrated)
}
-val kotlinWrappersVersion = "pre.144-kotlin-1.4.30"
+val kotlinWrappersVersion = "pre.150-kotlin-1.4.31"
kotlin {
js {
@@ -21,13 +25,13 @@ kotlin {
dependencies {
implementation(project(":sw-client"))
- val reactVersion = "17.0.1"
+ val reactVersion = "17.0.2"
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 = "7.2.1"
+ val reactReduxVersion = "7.2.2"
implementation("org.jetbrains:kotlin-react-redux:$reactReduxVersion-$kotlinWrappersVersion")
implementation(npm("react-redux", reactReduxVersion))
// redux version aligned with the wrapper's build:
@@ -38,7 +42,7 @@ kotlin {
implementation("org.jetbrains:kotlin-react-router-dom:$reactRouterDomVersion-$kotlinWrappersVersion")
implementation(npm("react-router-dom", reactRouterDomVersion))
- val styledComponentsVersion = "5.2.0"
+ val styledComponentsVersion = "5.2.1"
implementation("org.jetbrains:kotlin-styled:$styledComponentsVersion-$kotlinWrappersVersion")
implementation(npm("styled-components", styledComponentsVersion))
implementation(npm("inline-style-prefixer", "6.0.0"))
bgstack15