Skip to content

Commit ee99aa1

Browse files
committed
U v.1.4.0
1 parent 3e93286 commit ee99aa1

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following `plugin` tag to your `pom.xml`:
2222
<plugin>
2323
<groupId>io.github.fvarrui</groupId>
2424
<artifactId>javapackager</artifactId>
25-
<version>1.3.0</version>
25+
<version>1.4.0</version>
2626
<executions>
2727
<execution>
2828
<phase>package</phase>
@@ -69,7 +69,7 @@ buildscript {
6969
mavenCentral()
7070
}
7171
dependencies {
72-
classpath 'io.github.fvarrui:javapackager:1.3.0'
72+
classpath 'io.github.fvarrui:javapackager:1.4.0'
7373
}
7474
}
7575
@@ -140,6 +140,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
140140
| `administratorRequired` | :x: | `false` | App will run as administrator (with elevated privileges). |
141141
| `assetsDir` | :x: | `${basedir}/assets` or `${projectdir}/assets` | Assets location (icons and custom Velocity templates). |
142142
| `bundleJre` | :x: | `false` | Embeds a customized JRE with the app. |
143+
| `classpath` | :x: | `null` | List of additional paths to JVM classpath, separated with `;` (recommended) or `:`. |
143144
| `copyDependencies` | :x: | `true` | Bundles all dependencies (JAR files) with the app. |
144145
| `createTarball` | :x: | `false` | Bundles app folder in tarball. |
145146
| `createZipball` | :x: | `false` | Bundles app folder in zipball. |
@@ -164,7 +165,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
164165
| `platform` | :x: | `auto` | Defines the target platform, which could be different to the execution platform. Possible values: `auto`, `mac`, `linux`, `windows`. Use `auto` for using execution platform as target. |
165166
| `runnableJar` | :x: | `null` | Defines your own JAR file to be bundled. If it's ommited, the plugin packages your code in a runnable JAR and bundle it with the app. |
166167
| `url` | :x: | `null` | App website URL. |
167-
| `useResourcesAsWorkingDir` | :x: | `true` | Uses app resources folder as default working directory. |
168+
| `useResourcesAsWorkingDir` | :x: | `true` | Uses app resources folder as default working directory (always `true` on Mac OS). |
168169
| ` version` | :x: | `${project.version}` | Project version. |
169170
| `vmArgs` | :x: | `[]` | Adds VM arguments. |
170171

@@ -292,6 +293,7 @@ Check the [TO-DO list](https://github.com/fvarrui/JavaPackager/projects/1#column
292293

293294
## Older documentation
294295

296+
- [v1.3.0](https://github.com/fvarrui/JavaPackager/blob/v1.3.0/README.md)
295297
- [v1.2.0](https://github.com/fvarrui/JavaPackager/blob/v1.2.0/README.md)
296298
- [v1.1.0](https://github.com/fvarrui/JavaPackager/blob/v1.1.0/README.md)
297299
- [v1.0.3](https://github.com/fvarrui/JavaPackager/blob/v1.0.3/README.md)

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies {
6262
}
6363

6464
group = 'io.github.fvarrui'
65-
version = '1.4.0-SNAPSHOT'
65+
version = '1.4.0'
6666
description = 'Hybrid Maven/Gradle plugin to package Java applications as native Windows, Mac OS X or GNU/Linux executables and create installers for them'
6767

6868
sourceCompatibility = JavaVersion.VERSION_1_8

docs/macosx-specific-properties.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<generateDmg>true|false</generateDmg>
88
<generatePkg>true|false</generatePkg>
99
<relocateJar>true|false</relocateJar>
10+
<appId>app unique identifier</appId>
11+
<developerId>singning identity</developerId>
12+
<entitlements>path/to/entitlements.plist</entitlements>
1013
<!-- properties used in DMG disk image generation -->
1114
<backgroundImage>path/to/png</backgroundImage>
1215
<windowX>x</windowX>
@@ -24,12 +27,15 @@
2427
</macConfig>
2528
```
2629

27-
| Property | Mandatory | Default value | Description |
28-
| ------------- | --------- | ------------- | ------------------------------------------------------------ |
29-
| `icnsFile` | :x: | `null` | Icon file. |
30-
| `generateDmg` | :x: | `true` | Enables DMG disk image file generation. |
31-
| `generatePkg` | :x: | `true` | Enables installation package generation. |
32-
| `relocateJar` | :x: | `true` | If `true`, Jar files are located in `Contents/Resources/Java` folder, otherwise they are located in `Contents/Resources` folder. |
30+
| Property | Mandatory | Default value | Description |
31+
| -------------- | --------- | -------------- | ------------------------------------------------------------ |
32+
| `icnsFile` | :x: | `null` | Icon file. |
33+
| `generateDmg` | :x: | `true` | Enables DMG disk image file generation. |
34+
| `generatePkg` | :x: | `true` | Enables installation package generation. |
35+
| `relocateJar` | :x: | `true` | If `true`, Jar files are located in `Contents/Resources/Java` folder, otherwise they are located in `Contents/Resources` folder. |
36+
| `appId` | :x: | `${mainClass}` | App unique identifier. |
37+
| `developerId` | :x: | `null` | Signing identity. |
38+
| `entitlements` | :x: | `null` | Path to [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements) file. |
3339

3440

3541
## DMG generation properties

0 commit comments

Comments
 (0)