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
I know if I add a specific task, that will provide the script defaults etc. and will work but that wasn't what I expected to happen. Should it be?
What is the expected behavior?
Works.
What is the current behavior?
Caused by: java.lang.NullPointerException
at io.github.fvarrui.javapackager.packagers.Packager.copyAdditionalResources(Packager.java:223)
at io.github.fvarrui.javapackager.packagers.Packager.createApp(Packager.java:393)
at io.github.fvarrui.javapackager.gradle.AbstractPackageTask.doPackage(AbstractPackageTask.java:45)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
Yes, there's a bug in the default task for Gradle, sorry! scripts property initialization is missing. I've just fixed in JavaPackager 1.6.7-SNAPSHOT branch issue-213. Please, try it and give me some feddback, thanks!
PS: since 1.6.7 is a SNAPSHOT version, you have to install it manually to your local repo. There are instructions in README.
I'm submitting a…
Short description of the issue/suggestion:
Building even simplest project in latest gradle seems broken.
Steps to reproduce the issue/enhancement:
THis has the simplest possible modern gradle config. i.e.
I know if I add a specific task, that will provide the script defaults etc. and will work but that wasn't what I expected to happen. Should it be?
What is the expected behavior?
Works.
What is the current behavior?
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
The text was updated successfully, but these errors were encountered: