Skip to content

Commit eae694a

Browse files
authored
Replace package by packageDistributionForCurrentOS (#2390)
`package` is deprecated
1 parent 37e33fb commit eae694a

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/codeviewer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MPP Code Viewer example for desktop/android written in Multiplatform Compose lib
88

99
### Building native desktop distribution
1010
```
11-
./gradlew :desktop:package
11+
./gradlew :desktop:packageDistributionForCurrentOS
1212
# outputs are written to desktop/build/compose/binaries
1313
```
1414

examples/imageviewer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ An example of image gallery for remote server image viewing, based on Jetpack Co
77

88
### Building native desktop distribution
99
```
10-
./gradlew :desktop:package
10+
./gradlew :desktop:packageDistributionForCurrentOS
1111
# outputs are written to desktop/build/compose/binaries
1212
```
1313

examples/issues/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Github Issues viewer example written in Jetpack Compose UI library.
88

99
### Building native desktop distribution
1010
```
11-
./gradlew :desktop:package
11+
./gradlew :desktop:packageDistributionForCurrentOS
1212
# outputs are written to desktop/build/compose/binaries
1313
```
1414

examples/notepad/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Notepad example for desktop written in Compose for Desktop library, using Compos
77

88
### Building native desktop distribution
99
```
10-
./gradlew package
10+
./gradlew packageDistributionForCurrentOS
1111
# outputs are written to build/compose/binaries
1212
```
1313
![Desktop](screenshots/notepad.gif)

examples/todoapp-lite/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Supported targets: Android and Desktop.
99

1010
### Building native desktop distribution
1111
```
12-
./gradlew :desktop:package
12+
./gradlew :desktop:packageDistributionForCurrentOS
1313
# outputs are written to desktop/build/compose/binaries
1414
```
1515

examples/todoapp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Features:
4040

4141
#### Building native desktop distribution
4242
```
43-
./gradlew :desktop:package
43+
./gradlew :desktop:packageDistributionForCurrentOS
4444
# outputs are written to desktop/build/compose/binaries
4545
```
4646

examples/widgets-gallery/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ demonstrating how to use various Material widgets.
1515

1616
### Building native desktop distribution
1717
```
18-
./gradlew :desktop:package
18+
./gradlew :desktop:packageDistributionForCurrentOS
1919
# outputs are written to desktop/build/compose/binaries
2020
```
2121

tutorials/Native_distributions_and_local_execution/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ The plugin creates the following tasks:
6262
Note, that there is no cross-compilation support available at the moment,
6363
so the formats can only be built using the specific OS (e.g. to build `.dmg` you have to use macOS).
6464
Tasks that are not compatible with the current OS are skipped by default.
65-
* `package` is a [lifecycle](https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:lifecycle_tasks) task,
65+
* `packageDistributionForCurrentOS` is a [lifecycle](https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:lifecycle_tasks) task,
6666
aggregating all package tasks for an application.
6767
* `packageUberJarForCurrentOS` is used to create a single jar file, containing all dependencies for current OS.
6868
The task is available starting from the M2 release.

0 commit comments

Comments
 (0)