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.
| Type | Name and description |
|---|---|
boolean |
debugEnable plugin configuration debug output. |
java.util.Set<java.lang.String> |
exclude |
java.util.List<java.lang.Object> |
files |
java.util.Set<java.lang.String> |
include |
java.lang.String |
outputName |
java.util.List<java.lang.Object> |
signatures |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
exclude(java.lang.String... path)Use to exclude classes in resulted signature. |
|
void |
files(java.lang.Object input)Files to use for signature generation. |
|
void |
include(java.lang.String... path)Use to include only defined classes in resulted signature. |
|
boolean |
isConfigured()@return true if anything is configured and signature build task must be attached |
|
void |
signatures(java.lang.Object signature)Signatures to extend from (use all definitions from signature). |
| 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() |
Enable plugin configuration debug output.
Use to exclude classes in resulted signature. For example: specify 'com.sun.*' to exclude 'com.sun' package and all it's sub packages.
Method may be called multiple times - all inputs will aggregate.
path - class names or package maskFiles to use for signature generation. Includes classes (compiled) or jars. Internally 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:
input - input files (classes ot jars)Use to include only defined classes in resulted signature. For example: specify 'com.java.*' to include only 'com.java' package and all it's sub packages.
Method may be called multiple times - all inputs will aggregate.
path - class names or package mask
Signatures to extend from (use all definitions from signature). May be used only together with files definition (for example, you can't just merge multiple signatures; this is ant task limitation).
Method may be called multiple times - all inputs will aggregate.
Plugin register special 'signature' configuration to use for signatures definition and it makes sense to use
it for signatures definition for build task. In this case, use configurations.signature to add
all defined signatures.
Internally org.gradle.api.Project#files(java.lang.Object ...) is used so any definition may be used, supported by gradle method.
signature - base signatures