Closed gwitsch closed 1 year ago
Hm, this might be a more complex issue than first expected. It seems that an Annotation processor and an additional source directory might be the route cause. I will do some further inspection and will be back...
Did some further research: My problem has been solved with the above mentioned fix. However I don't think, that's a bug in the Lombok plugin.
In my case it has been caused by the combination Lombok plugin and the annotation processor org.hibernate:hibernate-jpamodelgen
As the jpamodelgen gets integrated in the compileJava task, Gradle complained when running the delombok task. This is called when creating the javadoc jar. So updating the dependsOn configuration works for me.
Hi, after updating to Gradle 8.1.1 and Lombok plugin 8.0.1 the task delombok fails. Previous Gradle version was 7.6.1 and Lombok plugin was 6.6
The temporary solution is quiet easy. All I had to do was updating the dependsOn configuration for the Delombok tasks:
But it would be a better approach if the plugin already does that by itself.
I might also need to mention that the error appears in combination with the creation of the javadoc and sources jar during the build. Those jars are created with Gradle's built-in javadocJar and sourcesJar tasks.
Only calling the jar task on my Java project does not cause the problem.