File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/main/java/io/github/fvarrui/javapackager/gradle Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
147147| ` additionalModulePaths ` | :x : | ` [] ` | Additional module paths for ` jdeps ` . |
148148| ` additionalModules ` | :x : | ` [] ` | Additional modules to the ones identified by ` jdeps ` or the specified with ` modules ` property. |
149149| ` additionalResources ` | :x : | ` [] ` | Additional files and folders to include in the bundled app. |
150+ | ` arch ` | :x : | ` ${os.arch} ` | The dependency of some ArtifactGenerator objects in the process of making packages, such as GenerateDeb |
150151| ` administratorRequired ` | :x : | ` false ` | App will run as administrator (with elevated privileges). |
151152| ` assetsDir ` | :x : | ` ${basedir}/assets ` or ` ${projectdir}/assets ` | Assets location (icons and custom Velocity templates). |
152153| ` bundleJre ` | :x : | ` false ` | Embeds a customized JRE with the app. |
Original file line number Diff line number Diff line change 11package io .github .fvarrui .javapackager .gradle ;
22
3- import static io .github .fvarrui .javapackager .utils .ObjectUtils .defaultIfNull ;
4-
53import io .github .fvarrui .javapackager .packagers .Packager ;
64import io .github .fvarrui .javapackager .packagers .PackagerFactory ;
75
6+ import static io .github .fvarrui .javapackager .utils .ObjectUtils .defaultIfNull ;
7+
88/**
99 * Default packaging task for Gradle
1010 */
@@ -22,6 +22,7 @@ protected Packager createPackager() throws Exception {
2222 .additionalModulePaths (extension .getAdditionalModulePaths ())
2323 .additionalResources (extension .getAdditionalResources ())
2424 .administratorRequired (extension .getAdministratorRequired ())
25+ .arch (extension .getArch ())
2526 .assetsDir (extension .getAssetsDir ())
2627 .bundleJre (extension .getBundleJre ())
2728 .classpath (extension .getClasspath ())
@@ -61,5 +62,5 @@ protected Packager createPackager() throws Exception {
6162 .winConfig (extension .getWinConfig ());
6263
6364 }
64-
65+
6566}
You can’t perform that action at this time.
0 commit comments