franzbecker / gradle-lombok

Gradle plugin for Lombok support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default delombok task doesn't work by default with modern implementation dependencies

chadlwilson opened this issue · comments

Problem
The default configuration doesn't build the JavaExec classpath correctly if you use modern Gradle implementation dependencies; as opposed to the legacy/deprecated compile dependencies from Gradle 2.x.

Workaround
Extend the classpath like the below

task delombok(type: io.franzbecker.gradle.lombok.task.DelombokTask, dependsOn: compileJava) {
    classpath += project.configurations.compileClasspath
    //...

I've release your change as v3.0.0. Thanks again 👍

Wow, 3.0.0 - big move ;-)