Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Circular dependency between tasks when using in combination with lombok plugin #316

Description

@thijslemmens

When I try to add the checkerframework plugin to a project that uses Lombok I get these logs on compile:

./gradlew  :contentgrid-appserver-query-engine-impl-jooq:compileJava
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

> Configure project :contentgrid-appserver-actuators
Reckoned version: 0.0.4-SNAPSHOT

> Configure project :contentgrid-appserver-query-engine-impl-jooq
No explicit dependency on the Checker Framework found, using default version 3.51.1

FAILURE: Build failed with an exception.

* What went wrong:
Circular dependency between the following tasks:
:contentgrid-appserver-query-engine-impl-jooq:compileJava
\--- :contentgrid-appserver-query-engine-impl-jooq:delombok
     \--- :contentgrid-appserver-query-engine-impl-jooq:compileJava (*)

(*) - details omitted (listed previously)


* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 9s

This is the commit:
xenit-eu/contentgrid-appserver@1730e7c

Our lombok config file contains
lombok.addLombokGeneratedAnnotation = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions