Class DependencyChecksPlugin

java.lang.Object
com.carrotsearch.gradle.buildinfra.AbstractPlugin
com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyChecksPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public final class DependencyChecksPlugin extends AbstractPlugin
This plugin adds dependency-tracking functionality similar to palantir-consistent-versions, but:

- global resolution of dependencies across all configurations (gradle mechanisms must be used to make versions consistent),

- the "lock file" (versions.lock) is for tracking unintended changes (it does not lock versions but will fail if the actual dependencies are different from the ones in the lockfile).

  • Constructor Details

    • DependencyChecksPlugin

      @Inject public DependencyChecksPlugin(org.gradle.api.problems.Problems problems)
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)