Replace package by packageDistributionForCurrentOS (#2390)

`package` is deprecated
This commit is contained in:
Igor Demin
2022-10-11 18:59:20 +02:00
committed by GitHub
parent 37e33fba29
commit eae694ad3d
8 changed files with 8 additions and 8 deletions

View File

@@ -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
```

View File

@@ -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
```

View File

@@ -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
```

View File

@@ -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
```
![Desktop](screenshots/notepad.gif)

View File

@@ -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
```

View File

@@ -40,7 +40,7 @@ Features:
#### Building native desktop distribution
```
./gradlew :desktop:package
./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries
```

View File

@@ -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
```

View File

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