Skip to content

toggleOffOn breaks the configuration cache hack #2317

Closed
@breskeby

Description

We validate the cache ability of our elasticsearch build once on a regular basis. Testing updating spotless gradle plugin to 7.0.0BETA3(and 4) the cachabiltiy of one of the spotlessJava tasks within our build-tool-internal subproject is not cacheable due to stepsInternalEquality is reported to be different. I don't understand what causes this to be honest. it must be something special with the subproject. the only configuration there is using onOffToggle that we do not do in other places.

spotless {
  java {
    toggleOffOn()
  }
}

Find attached a screenshot of our develocity check:
Screenshot 2024-10-25 at 21 50 42

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