palantir / gradle-baseline

A set of Gradle plugins that configure default code quality tools for developers.
Apache License 2.0
307 stars 134 forks source link

checkUnusedDependencies flake #1495

Open schlosna opened 4 years ago

schlosna commented 4 years ago

What happened?

A tritium develop build failed for https://github.com/palantir/tritium/pull/848 after merging the bump for com.palantir.baseline:gradle-baseline-java from 3.37.1 to 3.38.0. The error message below and linked above poses a quite existential question:

:tritium-metrics-jvm:checkUnusedDependenciesMain - gradle
org.gradle.api.GradleException: Found 1 dependencies unused during compilation, please delete them from 'tritium-metrics-jvm/build.gradle' or choose one of the suggested fixes:
    io.dropwizard.metrics:metrics-core
        Did you mean:
            io.dropwizard.metrics:metrics-core

    at com.palantir.baseline.tasks.CheckUnusedDependenciesTask.checkUnusedDependencies(CheckUnusedDependenciesTask.java:138)

What did you want to happen?

No flakes in checkUnusedDependencies

schlosna commented 4 years ago

A re-run of the check and beyond portion of the build succeed