Browse Source

Replace package by packageDistributionForCurrentOS (#2390)

`package` is deprecated
pull/2391/head
Igor Demin 2 years ago committed by GitHub
parent
commit
eae694ad3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/codeviewer/README.md
  2. 2
      examples/imageviewer/README.md
  3. 2
      examples/issues/README.md
  4. 2
      examples/notepad/README.md
  5. 2
      examples/todoapp-lite/README.md
  6. 2
      examples/todoapp/README.md
  7. 2
      examples/widgets-gallery/README.md
  8. 2
      tutorials/Native_distributions_and_local_execution/README.md

2
examples/codeviewer/README.md

@ -8,7 +8,7 @@ MPP Code Viewer example for desktop/android written in Multiplatform Compose lib
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew :desktop:package ./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries # outputs are written to desktop/build/compose/binaries
``` ```

2
examples/imageviewer/README.md

@ -7,7 +7,7 @@ An example of image gallery for remote server image viewing, based on Jetpack Co
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew :desktop:package ./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries # outputs are written to desktop/build/compose/binaries
``` ```

2
examples/issues/README.md

@ -8,7 +8,7 @@ Github Issues viewer example written in Jetpack Compose UI library.
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew :desktop:package ./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries # outputs are written to desktop/build/compose/binaries
``` ```

2
examples/notepad/README.md

@ -7,7 +7,7 @@ Notepad example for desktop written in Compose for Desktop library, using Compos
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew package ./gradlew packageDistributionForCurrentOS
# outputs are written to build/compose/binaries # outputs are written to build/compose/binaries
``` ```
![Desktop](screenshots/notepad.gif) ![Desktop](screenshots/notepad.gif)

2
examples/todoapp-lite/README.md

@ -9,7 +9,7 @@ Supported targets: Android and Desktop.
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew :desktop:package ./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries # outputs are written to desktop/build/compose/binaries
``` ```

2
examples/todoapp/README.md

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

2
examples/widgets-gallery/README.md

@ -15,7 +15,7 @@ demonstrating how to use various Material widgets.
### Building native desktop distribution ### Building native desktop distribution
``` ```
./gradlew :desktop:package ./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries # outputs are written to desktop/build/compose/binaries
``` ```

2
tutorials/Native_distributions_and_local_execution/README.md

@ -62,7 +62,7 @@ The plugin creates the following tasks:
Note, that there is no cross-compilation support available at the moment, 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). 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. 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. aggregating all package tasks for an application.
* `packageUberJarForCurrentOS` is used to create a single jar file, containing all dependencies for current OS. * `packageUberJarForCurrentOS` is used to create a single jar file, containing all dependencies for current OS.
The task is available starting from the M2 release. The task is available starting from the M2 release.

Loading…
Cancel
Save