-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
We started using the Lombok plugin for gradle rather than pulling in the dependencies and setting things up manually:
id 'io.freefair.lombok' version '6.4.2'
The result is the following warning in the gradle output and processSpring ends up being run on every gradle task (presumably because Gradle is unable to determine that it is already up to date.
> Task :processSpring
Execution optimizations have been disabled for task ':processSpring' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: 'C:\dev\git\foo\build\openapi'. Reason: Task ':generateEffectiveLombokConfig' uses this output of task ':processSpring' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
I found the same issue raised against another gradle plugin and the reason was due to the dependencies not being modeled correctly within the plugin (Netflix/dgs-codegen#190). Is this something that can be fixed within this gradle plugin too?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels