mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Replace package by packageDistributionForCurrentOS (#2390)
`package` is deprecated
This commit is contained in:
@@ -8,7 +8,7 @@ MPP Code Viewer example for desktop/android written in Multiplatform Compose lib
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ An example of image gallery for remote server image viewing, based on Jetpack Co
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Github Issues viewer example written in Jetpack Compose UI library.
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Notepad example for desktop written in Compose for Desktop library, using Compos
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew package
|
||||
./gradlew packageDistributionForCurrentOS
|
||||
# outputs are written to build/compose/binaries
|
||||
```
|
||||

|
||||
@@ -9,7 +9,7 @@ Supported targets: Android and Desktop.
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Features:
|
||||
|
||||
#### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ demonstrating how to use various Material widgets.
|
||||
|
||||
### Building native desktop distribution
|
||||
```
|
||||
./gradlew :desktop:package
|
||||
./gradlew :desktop:packageDistributionForCurrentOS
|
||||
# outputs are written to desktop/build/compose/binaries
|
||||
```
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ The plugin creates the following tasks:
|
||||
Note, that there is no cross-compilation support available at the moment,
|
||||
so the formats can only be built using the specific OS (e.g. to build `.dmg` you have to use macOS).
|
||||
Tasks that are not compatible with the current OS are skipped by default.
|
||||
* `package` is a [lifecycle](https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:lifecycle_tasks) task,
|
||||
* `packageDistributionForCurrentOS` is a [lifecycle](https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:lifecycle_tasks) task,
|
||||
aggregating all package tasks for an application.
|
||||
* `packageUberJarForCurrentOS` is used to create a single jar file, containing all dependencies for current OS.
|
||||
The task is available starting from the M2 release.
|
||||
|
||||
Reference in New Issue
Block a user