Package com.palantir.baseline.plugins
Class BaselineClassUniquenessPlugin
- java.lang.Object
-
- com.palantir.baseline.plugins.AbstractBaselinePlugin
-
- com.palantir.baseline.plugins.BaselineClassUniquenessPlugin
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,org.gradle.api.Plugin<org.gradle.api.Project>
public class BaselineClassUniquenessPlugin extends com.palantir.baseline.plugins.AbstractBaselinePluginThis 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.
-
-
Constructor Summary
Constructors Constructor Description BaselineClassUniquenessPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-