Skip to content

Commit 5de190e

Browse files
JSMonkSebastianAigner
authored andcommitted
Update libraries and Kotlin version
1 parent df7ce5a commit 5de190e

File tree

3 files changed

+439
-203
lines changed

3 files changed

+439
-203
lines changed

build.gradle.kts

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
2-
kotlin("js") version "1.7.10"
3-
kotlin("plugin.serialization") version "1.7.10"
2+
kotlin("js") version "1.8.20"
3+
kotlin("plugin.serialization") version "1.8.20"
44
}
55

66
group = "org.example"
@@ -14,7 +14,9 @@ kotlin {
1414
js {
1515
browser {
1616
commonWebpackConfig {
17-
cssSupport.enabled = true
17+
cssSupport {
18+
enabled.set(true)
19+
}
1820
}
1921
}
2022
binaries.executable()
@@ -23,29 +25,25 @@ kotlin {
2325

2426
dependencies {
2527
//React, React DOM + Wrappers (chapter 3)
26-
implementation(enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:1.0.0-pre.354"))
28+
implementation(enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:1.0.0-pre.430"))
2729
implementation("org.jetbrains.kotlin-wrappers:kotlin-react")
2830
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom")
2931

3032
//Kotlin React Emotion (CSS) (chapter 3)
3133
implementation("org.jetbrains.kotlin-wrappers:kotlin-emotion")
3234

3335
//Video Player (chapter 7)
34-
implementation(npm("react-player", "2.10.1"))
36+
implementation(npm("react-player", "2.12.0"))
3537

3638
//Share Buttons (chapter 7)
37-
implementation(npm("react-share", "4.4.0"))
39+
implementation(npm("react-share", "4.4.1"))
3840

3941
//Coroutines & serialization (chapter 8)
40-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
41-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3")
42+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
43+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
4244
}
4345

4446
// Heroku Deployment (chapter 9)
4547
tasks.register("stage") {
4648
dependsOn("build")
47-
}
48-
49-
rootProject.extensions.configure<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension> {
50-
versions.webpackCli.version = "4.10.0"
5149
}

gradle.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
kotlin.code.style=official
1+
kotlin.code.style=official
2+
kotlin.js.compiler=ir

0 commit comments

Comments
 (0)