File tree Expand file tree Collapse file tree 4 files changed +17
-9
lines changed Expand file tree Collapse file tree 4 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// Hardcoded as this is upstream of the version catalog. Keep this in sync with that.
3
- kotlin(" jvm" ) version " 2.0.21 " apply false
3
+ kotlin(" jvm" ) version " 2.2.0 " apply false
4
4
}
5
5
6
6
dependencyResolutionManagement {
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
3
- agpVersion = " 8.8 .0"
3
+ agpVersion = " 8.11 .0"
4
4
5
5
compileSdk = " 34"
6
6
minSdk = " 24"
7
7
targetSdk = " 33"
8
8
9
- jdk-target = " 1.8 "
9
+ jdk-target = " 11 "
10
10
jdk-toolchain = " 17"
11
11
12
12
androidx-activity = " 1.8.2"
@@ -46,19 +46,19 @@ filekit-dialogs-compose = "0.10.0-beta03"
46
46
47
47
google-accompanist = " 0.18.0"
48
48
google-dagger = " 2.40.5"
49
- google-ksp = " 2.0.21-1 .0.26 "
49
+ google-ksp = " 2.2.0-2 .0.2 "
50
50
google-material = " 1.4.0"
51
51
52
52
groovy = " 3.0.9"
53
53
jUnit = " 4.13.2"
54
54
java-diff-utils = " 4.12"
55
55
javaParser = " 3.24.0"
56
- jetbrains-compose-plugin = " 1.7.3 "
56
+ jetbrains-compose-plugin = " 1.8.2 "
57
57
kgx = " 0.1.12"
58
58
kotest = " 5.1.0"
59
59
# Keep this in sync with what is hard-coded in build-logic/settings.gradle.kts as that is upstream
60
60
# of loading the library versions from this file but should be the same.
61
- kotlin = " 2.0.21 "
61
+ kotlin = " 2.2.0 "
62
62
63
63
kotlinx-binary-compatibility = " 0.17.0"
64
64
kotlinx-coroutines = " 1.7.3"
@@ -95,9 +95,10 @@ timber = "5.0.1"
95
95
truth = " 1.4.4"
96
96
turbine = " 1.0.0"
97
97
vanniktech-publish = " 0.32.0"
98
+ compose-hot-reload = " 1.0.0-beta02"
98
99
99
100
[plugins ]
100
-
101
+ compose-hot-reload = { id = " org.jetbrains.compose.hot-reload " , version.ref = " compose-hot-reload " }
101
102
kotlin-jvm = { id = " org.jetbrains.kotlin.jvm" , version.ref = " kotlin" }
102
103
103
104
compose-compiler = { id = " org.jetbrains.kotlin.plugin.compose" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.11 -all.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.13 -all.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
2
+ import org.jetbrains.compose.reload.gradle.ComposeHotRun
2
3
3
4
plugins {
4
5
id(" kotlin-multiplatform" )
5
6
alias(libs.plugins.jetbrains.compose)
6
7
alias(libs.plugins.compose.compiler)
8
+ alias(libs.plugins.compose.hot.reload)
7
9
}
8
10
9
11
kotlin {
@@ -35,7 +37,12 @@ kotlin {
35
37
}
36
38
}
37
39
}
38
-
40
+ tasks.withType<ComposeHotRun >().configureEach {
41
+ mainClass.set(" com.squareup.workflow1.traceviewer.MainKt" )
42
+ jvmArgs(
43
+ " -Dapple.awt.application.appearance=system"
44
+ )
45
+ }
39
46
compose {
40
47
desktop {
41
48
application {
You can’t perform that action at this time.
0 commit comments