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
The plugin is incompatible with the Gradle configuration cache feature.
I'm mostly creating this as a tracking issue and might come back later and raise a PR to fix it. I'm currently not blocked by this, but having support for all current Gradle features would obviously be desirable.
Caused by: java.lang.NullPointerException: Cannot invoke "org.gradle.api.Project.getExtensions()" because "this.project" is null
at org.javamodularity.moduleplugin.JavaProjectHelper.extension(JavaProjectHelper.java:36)
at org.javamodularity.moduleplugin.JavaProjectHelper.modularityExtension(JavaProjectHelper.java:44)
at org.javamodularity.moduleplugin.tasks.CompileJavaTaskMutator.buildCompilerArgs(CompileJavaTaskMutator.java:60)
at org.javamodularity.moduleplugin.tasks.CompileJavaTaskMutator.modularizeJavaCompileTask(CompileJavaTaskMutator.java:44)
at org.javamodularity.moduleplugin.tasks.CompileTask$2.execute(CompileTask.java:103)
at org.javamodularity.moduleplugin.tasks.CompileTask$2.execute(CompileTask.java:100)
The workaround is to have following line in gradle.properties
Activity
koppor commentedon May 6, 2025
The error message is
The workaround is to have following line in
gradle.propertiesorg.gradle.configuration-cache=falsekoppor commentedon May 13, 2025
I was given following hints: