From eae694ad3d044eb0cacc110101d3edfc928b072f Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Tue, 11 Oct 2022 18:59:20 +0200 Subject: [PATCH] Replace package by packageDistributionForCurrentOS (#2390) `package` is deprecated --- examples/codeviewer/README.md | 2 +- examples/imageviewer/README.md | 2 +- examples/issues/README.md | 2 +- examples/notepad/README.md | 2 +- examples/todoapp-lite/README.md | 2 +- examples/todoapp/README.md | 2 +- examples/widgets-gallery/README.md | 2 +- tutorials/Native_distributions_and_local_execution/README.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/codeviewer/README.md b/examples/codeviewer/README.md index d9dc237229..172adda0ce 100644 --- a/examples/codeviewer/README.md +++ b/examples/codeviewer/README.md @@ -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 ``` diff --git a/examples/imageviewer/README.md b/examples/imageviewer/README.md index 64a1794e50..3d79c52613 100755 --- a/examples/imageviewer/README.md +++ b/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 ``` -./gradlew :desktop:package +./gradlew :desktop:packageDistributionForCurrentOS # outputs are written to desktop/build/compose/binaries ``` diff --git a/examples/issues/README.md b/examples/issues/README.md index 4e3a73f80c..e6361890ce 100644 --- a/examples/issues/README.md +++ b/examples/issues/README.md @@ -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 ``` diff --git a/examples/notepad/README.md b/examples/notepad/README.md index 26da73ce5f..15b106a9f5 100644 --- a/examples/notepad/README.md +++ b/examples/notepad/README.md @@ -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) \ No newline at end of file diff --git a/examples/todoapp-lite/README.md b/examples/todoapp-lite/README.md index c35555d64a..e0526a0209 100755 --- a/examples/todoapp-lite/README.md +++ b/examples/todoapp-lite/README.md @@ -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 ``` diff --git a/examples/todoapp/README.md b/examples/todoapp/README.md index 783993574a..5a348940b7 100755 --- a/examples/todoapp/README.md +++ b/examples/todoapp/README.md @@ -40,7 +40,7 @@ Features: #### Building native desktop distribution ``` -./gradlew :desktop:package +./gradlew :desktop:packageDistributionForCurrentOS # outputs are written to desktop/build/compose/binaries ``` diff --git a/examples/widgets-gallery/README.md b/examples/widgets-gallery/README.md index 396033e39e..262f9759d0 100644 --- a/examples/widgets-gallery/README.md +++ b/examples/widgets-gallery/README.md @@ -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 ``` diff --git a/tutorials/Native_distributions_and_local_execution/README.md b/tutorials/Native_distributions_and_local_execution/README.md index b62a6d4fbc..fd23282714 100755 --- a/tutorials/Native_distributions_and_local_execution/README.md +++ b/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, 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.