Skip to content

The plugin fails to run with Gradle 9 #462

@sergeykad

Description

@sergeykad

The plugin fails to run with Gradle 9

The problem occurs with version 12.1.3 of the Gradle plugin

Log file
https://gist.github.com/sergeykad/14076a4695a12590936c51314776cd7f

Error:
org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$IllegalResolutionException: Resolution of the configuration ':abstract-function-plugin:errorproneJavac' was attempted without an exclusive lock. This is unsafe and not allowed.

Steps to reproduce the behavior:

  • Install Gradle 9.0.0
  • Run gradle dependencyCheckAggregate
  • See the error

Expected behavior

  • No error is reported, and a dependencies report is generated.

Additional context
dependency-check/DependencyCheck#7850

As mentioned by @raphiz, this issue is related to a change in Gradle concurrency model.
Related discussions:

ben-manes/gradle-versions-plugin#948 (comment)
gradle/gradle#33938 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions