All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.vyarus.gradle.plugin.animalsniffer.signature.AnimalSnifferSignatureExtension.groovy Maven / Gradle / Ivy

package ru.vyarus.gradle.plugin.animalsniffer.signature

/**
 * Animalsniffer signature build extension. Registered as 'animalsnifferSignature' configuration.
 * When used, custom task 'animalsnifferSignature' is registered for building signature.
 * 

* Properties may be used for configuration directly, but it will be more convenient to use provided methods instead. * * @author Vyacheslav Rusakov * @since 23.04.2017 * @see BuildSignatureTask for signature build task (which may be used directly) */ @SuppressWarnings('ConfusingMethodName') class AnimalSnifferSignatureExtension { List files = [] List signatures = [] Set include = [] Set exclude = [] String outputName /** * Files to use for signature generation. Includes classes (compiled) or jars. * Internally {@link org.gradle.api.Project#files(java.lang.Object ...)} is used so any definition may be used, * supported by gradle method. *

* Method may be called multiple times - all inputs will aggregate. *

* Common cases: *