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
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':prepareModulesDir'.
> Error while evaluating property 'moduleName' of task ':prepareModulesDir'.
> Failed to query the value of extension 'jlink' property 'moduleName'.
> Cannot retrieve module name from /private/var/folders/6w/05drv2hn6c731ccrddrcxb7r0000gn/T/spock_should_create_runti_0_testProjectDir5359671681591213750/src/main/java/module-info.java with content: import org.jspecify.annotations.NullMarked;
@NullMarked
module org.beryx.modular.annotatedmodule {
requires org.jspecify;
opens org.beryx.modular.annotatedmodule;
}
* Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':prepareModulesDir'.
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
at ...
Caused by: org.gradle.api.internal.tasks.properties.PropertyEvaluationException: Error while evaluating property 'moduleName' of task ':prepareModulesDir'.
at org.gradle.api.internal.tasks.properties.InputParameterUtils.prepareInputParameterValue(InputParameterUtils.java:33)
at ...
Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to query the value of extension 'jlink' property 'moduleName'.
at org.gradle.api.internal.provider.AbstractProperty.doCalculateValue(AbstractProperty.java:136)
at ...
Caused by: org.gradle.api.GradleException: Cannot retrieve module name from /private/var/folders/6w/05drv2hn6c731ccrddrcxb7r0000gn/T/spock_should_create_runti_0_testProjectDir5359671681591213750/src/main/java/module-info.java with content: import org.jspecify.annotations.NullMarked;
@NullMarked
module org.beryx.modular.annotatedmodule {
requires org.jspecify;
opens org.beryx.modular.annotatedmodule;
}
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.gradle.internal.classpath.intercept.CallInterceptorsSet$DecoratingCallSite.access$401(CallInterceptorsSet.java:129)
The text was updated successfully, but these errors were encountered:
module-info.java:
Error with shortened stacktrace:
The text was updated successfully, but these errors were encountered: