You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaPackager is a hybrid plugin for **Maven** and **Gradle** which provides an easy way to package Java applications in native Windows, MacOS or GNU/Linux executables, and generate installers for them.
description ='Hybrid Maven/Gradle plugin to package Java applications as native Windows, Mac OS X or GNU/Linux executables and create installers for them'
75
54
76
55
sourceCompatibility =JavaVersion.VERSION_1_8
77
56
targetCompatibility =JavaVersion.VERSION_1_8
78
57
79
58
compileJava.options.encoding ='UTF-8'
80
59
81
-
publishing {
82
-
publications {
83
-
mavenJava(MavenPublication) {
84
-
from(components.java)
85
-
}
86
-
}
87
-
}
88
-
89
60
java {
90
61
withSourcesJar()
91
-
// and/or analogously use "withJavadocJar()" to get a "javadocJar" task
|`entitlements`|:x:|| Path to [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements) file. |
68
70
|`codesignApp`|:x:|`true`| If it is set to `false`, generated app will not be codesigned. |
69
71
|`hardenedCodesign`|:x:|`true`| If it is set to `true`, enable [hardened runtime](https://developer.apple.com/documentation/security/hardened_runtime) if MacOS version >= 10.13.6. |
72
+
|`notarizeApp`|:x:|`false`| If it is set to `true`, generated app will be submitted to apple for notarization and the ticket will be stapled. |
73
+
| `keyChainProfile` | :x: | | Profile name originally provided to `xcrun notarytool store-credentials`. Must be set if `notarizeApp` is `true`.
70
74
|`macStartup`|:x:|`SCRIPT`| App startup type, using a `SCRIPT` or a binary (compiled version of the script: `UNIVERSAL`, `X86_64` or `ARM64`). |
Copy file name to clipboardExpand all lines: docs/windows-tools-guide.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Windows tools installation guide
2
2
3
-
As explained in the [docs](https://github.com/fvarrui/JavaPackager#generated-artifacts), you must install [Inno Setup (iscc)](https://jrsoftware.org/isinfo.php) to generate an EXE installer and [WIX Toolset (candle and light)](https://wixtoolset.org/) to generate a MSI file.
3
+
As explained in the [docs](https://github.com/fvarrui/JavaPackager#generated-artifacts), you must install [Inno Setup (iscc)](https://jrsoftware.org/isinfo.php) to generate an EXE installer and [WIX Toolset (candle and light)](https://wixtoolset.org/) to generate an MSI file.
4
+
5
+
For Inno Setup 5.x, the Unicode version should be used, because the scripts that JavaPacker will be creating as an input will be UTF-8 encoded.
4
6
5
7
## Using Chocolatey
6
8
You can install both tools in a simple way using [Chocolatey](https://chocolatey.org/) package manager:
0 commit comments