We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e911e26 commit 6fa2901Copy full SHA for 6fa2901
src/main/java/org/gradlex/javamodule/packaging/tasks/Jpackage.java
@@ -196,8 +196,10 @@ public void runJpackage() throws Exception {
196
);
197
if (getSingleStepPackaging().get()) {
198
configureJPackageArguments(e, resourcesDir);
199
- for (File appContent : requireNonNull(appRootFolder.listFiles())) {
200
- e.args("--app-content", appContent.getPath());
+ if (appRootFolder.exists()) {
+ for (File appContent : requireNonNull(appRootFolder.listFiles())) {
201
+ e.args("--app-content", appContent.getPath());
202
+ }
203
}
204
} else {
205
e.args("--app-image", appImageFolder.getPath());
0 commit comments