@groovy.transform.CompileStatic class AnimalSnifferPlugin extends java.lang.Object
AnimalSniffer plugin. Implemented the same way as gradle quality plugins (checkstyle, pmd, findbugs): main configuration 'animalsniffer' used to configure custom tasks, registered for each source set.
Signatures are expected to be defined with 'signature' configuration. Multiple signatures may be set. If no signatures defined - no check will be performed.
Reports configuration is performed with reports section. Only text report supported. All violations are always printed to console.
To support signature configuration, plugin registered 'animalsnifferSignature' configuration. If this configuration used then 'animalsnifferSignature' task will be registered to build signature file.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
ANIMALSNIFFER_CACHE |
|
static java.lang.String |
SIGNATURE_CONF |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |