Skip to content

Gradle QuarkusTest fails with Compilation Failed when using lombok on reload #50936

@Malandril

Description

@Malandril

Describe the bug

When using the lombok gradle plugin with the quarkusTest task , the live reload fails with

Compilation Failed:
/src/main/java/org/acme/GreetingResource.java:8: error: package lombok.extern.slf4j does not exist
import lombok.extern.slf4j.Slf4j;

This does not happen when running quarkusDev , and in continuous testing with quarkusDev

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

Reproducer : https://github.com/Malandril/quarkus-bug-lombok-test

run ./gradlew quarkusTest

Then change anything in the GreetingResource class, it wail fail with a compilation error

Output of uname -a or ver

No response

Output of java -version

21

Quarkus version or git rev

3.29.1

Build tool (ie. output of mvnw --version or gradlew --version)

9.1.0

Additional information

It is caused by #50253 , more precisely the commit 1ed554b , reverting it fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions