1
1
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 "
4
4
}
5
5
6
6
group = " org.example"
@@ -14,7 +14,9 @@ kotlin {
14
14
js {
15
15
browser {
16
16
commonWebpackConfig {
17
- cssSupport.enabled = true
17
+ cssSupport {
18
+ enabled.set(true )
19
+ }
18
20
}
19
21
}
20
22
binaries.executable()
@@ -23,29 +25,25 @@ kotlin {
23
25
24
26
dependencies {
25
27
// 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 " ))
27
29
implementation(" org.jetbrains.kotlin-wrappers:kotlin-react" )
28
30
implementation(" org.jetbrains.kotlin-wrappers:kotlin-react-dom" )
29
31
30
32
// Kotlin React Emotion (CSS) (chapter 3)
31
33
implementation(" org.jetbrains.kotlin-wrappers:kotlin-emotion" )
32
34
33
35
// Video Player (chapter 7)
34
- implementation(npm(" react-player" , " 2.10.1 " ))
36
+ implementation(npm(" react-player" , " 2.12.0 " ))
35
37
36
38
// Share Buttons (chapter 7)
37
- implementation(npm(" react-share" , " 4.4.0 " ))
39
+ implementation(npm(" react-share" , " 4.4.1 " ))
38
40
39
41
// 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 " )
42
44
}
43
45
44
46
// Heroku Deployment (chapter 9)
45
47
tasks.register(" stage" ) {
46
48
dependsOn(" build" )
47
- }
48
-
49
- rootProject.extensions.configure< org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension > {
50
- versions.webpackCli.version = " 4.10.0"
51
49
}
0 commit comments