Skip to content

Commit 89b219f

Browse files
deprecated 'application' (#426)
1 parent 401df8c commit 89b219f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

topics/compose/compose-native-distribution.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,28 @@ Read on for the details about the following topics:
1717

1818
## Gradle plugin
1919

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.
2222

2323
The plugin simplifies the process of packaging applications into native distributions using `jpackage` and running an application locally.
2424
Distributable applications are self-contained, installable binaries that include all the necessary Java runtime components,
2525
without requiring a JDK to be installed on the target system.
2626

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.
2829
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.
3031

3132
As an alternative, you can use [Conveyor](https://www.hydraulic.software), an external tool not developed by JetBrains.
3233
Conveyor supports online updates, cross-building, and various other features but requires a [license](https://hydraulic.software/pricing.html) for non-open source projects.
3334
For more information, refer to the [Conveyor documentation](https://conveyor.hydraulic.dev/latest/tutorial/hare/jvm).
3435

3536
## Basic tasks
3637

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
3842
it allows you to pack a collection of files, together with a JDK distribution, into a set of compressed binary installers
3943
in various formats.
4044

0 commit comments

Comments
 (0)