How to use delomboked sources in gradle build / test?

I'm using Lombok in a gradle based project and the build process requires to delombok the source code before continuing with unit tests or production build. What is the best way to achieve something like that in gradle?

At the moment the generated classes are created in a /build/delombok directory.

The first thought I had was to create a new source set and a task that is based on compileJava but if I do this I will probably have to update every other gradle task to depend on my new one. Is...

Read More »

By: StackOverFlow - Wednesday, 7 November

Related Posts