Class DependencyChecksPlugin
java.lang.Object
com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyChecksPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public final class DependencyChecksPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
DependencyChecksPlugin
public DependencyChecksPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-