Class BaselineClassUniquenessPlugin
java.lang.Object
groovy.lang.GroovyObjectSupport
com.palantir.baseline.plugins.AbstractBaselinePlugin
com.palantir.baseline.plugins.BaselineClassUniquenessPlugin
- All Implemented Interfaces:
groovy.lang.GroovyObject, org.gradle.api.Plugin<org.gradle.api.Project>
This plugin is similar to https://github.com/nebula-plugins/gradle-lint-plugin/wiki/Duplicate-Classes-Rule but goes
one step further and actually hashes any identically named classfiles to figure out if they're completely
identical (and therefore safely interchangeable).
The task only fails if it finds classes which have the same name but different implementations.
-
Field Summary
Fields inherited from class AbstractBaselinePlugin
project -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractBaselinePlugin
getConfigDirMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClassMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
BaselineClassUniquenessPlugin
public BaselineClassUniquenessPlugin()
-
-
Method Details
-
apply
public final void apply(org.gradle.api.Project project)
-