You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated example of building using the CLI to Kotlin 1.9.23 and Compose 1.6.1 (JetBrains#4488)
This PR updates the experimental CLI example to the latest Kotlin and
Compose Multiplatform releases.
The default platform used was also updated to Mac arm64.
Co-authored-by: Christian Melchior <[email protected]>
Copy file name to clipboardexpand all lines: experimental/build_from_cli/build_and_run_from_cli_example.sh
+27-19
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,31 @@ function mavenDep {
18
18
fi
19
19
}
20
20
21
-
PLATFORM=macos-x64
22
-
# to know which Skiko version corresponds to Compose version, search "skiko" in https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/ui/ui-graphics-desktop/1.1.0-alpha04/ui-graphics-desktop-1.1.0-alpha04.pom (replace 1.0.0-alpha04 by needed version)
# Define which platform the code is running on. This is required to load the correct native code.
22
+
PLATFORM=macos-arm64
23
+
# The Compose compiler must be compatible with the selected version of Kotlin.
24
+
# See https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html#use-a-developer-version-of-compose-multiplatform-compiler
25
+
# for which version of the compiler to use.
26
+
COMPOSE_COMPILER_VERSION=1.5.10.1
27
+
# See https://github.com/JetBrains/compose-multiplatform/releases for available versions of Compose
28
+
COMPOSE_VERSION=1.6.1
29
+
# To know which Skiko version corresponds to the used Compose version, search after "skiko" in
0 commit comments