Browse Source

Merge remote-tracking branch 'origin/support/1.6.10'

ok/upd_versions_in_jetsnack
Ivan Matkov 6 months ago
parent
commit
d0263b76dd
  1. 17
      tutorials/Native_distributions_and_local_execution/README.md

17
tutorials/Native_distributions_and_local_execution/README.md

@ -597,12 +597,13 @@ that is developed by [Guardsquare](https://www.guardsquare.com/).
The Gradle plugin provides a *release* task for each corresponding *default* packaging task:
Default task (w/o ProGuard) | Release task (w. ProGuard) | Description
---------------------------|----------------------------------|-----------
-----------------------------------|------------------------------------------|--------------------------------------------------------------------------
`createDistributable` | `createReleaseDistributable` | Creates an application image with bundled JDK & resources
`runDistributable` | `runReleaseDistributable` | Runs an application image with bundled JDK & resources
`run` | `runRelease` | Runs a non-packaged application `jar` using Gradle JDK
`package<FORMAT_NAME>` | `packageRelease<FORMAT_NAME>` | Packages an application image into a `<FORMAT_NAME>` file
`packageForCurrentOS` | `packageReleaseForCurrentOS` |Packages an application image into a format compatible with current OS
`packageDistributionForCurrentOS` | `packageReleaseDistributionForCurrentOS` | Packages an application image into a format compatible with current OS
`packageUberJarForCurrentOS` | `packageReleaseUberJarForCurrentOS` | Packages an application image into an uber (fat) JAR
`notarize<FORMAT_NAME>` | `notarizeRelease<FORMAT_NAME>` | Uploads a `<FORMAT_NAME>` application image for notarization (macOS only)
`checkNotarizationStatus` | `checkReleaseNotarizationStatus` | Checks if notarization succeeded (macOS only)
@ -650,3 +651,15 @@ compose.desktop {
}
}
```
Joining to the uber JAR is disabled by default - ProGuard produces the corresponding JAR for every input JAR.
To enable it, set the following property via Gradle DSL:
```
compose.desktop {
application {
buildTypes.release.proguard {
joinOutputJars.set(true)
}
}
}
```

Loading…
Cancel
Save