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
Copy file name to clipboardExpand all lines: topics/compose/compose-native-distribution.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,28 @@ Read on for the details about the following topics:
17
17
18
18
## Gradle plugin
19
19
20
-
This guide is primarily focused on packaging Compose applications using the Compose Multiplatform Gradle plugin. The `org.jetbrains.compose` plugin
21
-
provides tasks for basic packaging, obfuscation, and macOS code signing.
20
+
This guide is primarily focused on packaging Compose applications using the Compose Multiplatform Gradle plugin.
21
+
The `org.jetbrains.compose` plugin provides tasks for basic packaging, obfuscation, and macOS code signing.
22
22
23
23
The plugin simplifies the process of packaging applications into native distributions using `jpackage` and running an application locally.
24
24
Distributable applications are self-contained, installable binaries that include all the necessary Java runtime components,
25
25
without requiring a JDK to be installed on the target system.
26
26
27
-
To minimize package size, the Gradle plugin uses the [jlink](https://openjdk.org/jeps/282) tool that ensures bundling only the necessary Java modules in the distributable package.
27
+
To minimize package size, the Gradle plugin uses the [jlink](https://openjdk.org/jeps/282) tool that ensures
28
+
bundling only the necessary Java modules in the distributable package.
28
29
However, you still must configure the Gradle plugin to specify which modules you need.
29
-
For more information, see the `Configuring included JDK modules` section.
30
+
For more information, see the [](#including-jdk-modules) section.
30
31
31
32
As an alternative, you can use [Conveyor](https://www.hydraulic.software), an external tool not developed by JetBrains.
32
33
Conveyor supports online updates, cross-building, and various other features but requires a [license](https://hydraulic.software/pricing.html) for non-open source projects.
33
34
For more information, refer to the [Conveyor documentation](https://conveyor.hydraulic.dev/latest/tutorial/hare/jvm).
34
35
35
36
## Basic tasks
36
37
37
-
The basic configurable unit in the plugin is an `application`. The `application` DSL method defines a shared configuration for a set of final binaries, which means
38
+
The basic configurable unit in the Compose Multiplatform Gradle plugin is an `application` (not to be confused with the
39
+
[Gradle application](https://docs.gradle.org/current/userguide/application_plugin.html) plugin, which is deprecated).
40
+
41
+
The `application` DSL method defines a shared configuration for a set of final binaries, which means
38
42
it allows you to pack a collection of files, together with a JDK distribution, into a set of compressed binary installers
0 commit comments