Skip to content

Animalsniffer

Java, Groovy | Home | Plugin

In contrast to other tools, animalsniffer plugin is never activated automatically. Plugin will only apply common configuration (used source sets, strict mode) if ru.vyarus.animalsniffer plugin manually applied:

plugins {
    id 'ru.vyarus.animalsniffer' version '1.5.4'
}

Config

Animalsniffer version could be defined through quality config:

quality {
    animalsnifferVersion = '1.16'
}

Default version is not declared and animalsniffer plugin driven version will be used by default.

Quality configuration is applied to animalsniffer configuration like this:

animalsniffer {
    toolVersion = extension.animalsnifferVersion
    ignoreFailures = !extension.strict
    sourceSets = extension.sourceSets    
}