Modifiers | Name | Description |
---|---|---|
java.io.File |
apiFilter |
An optional pointer to an API file to filter the annotations by (any annotations not found in the API file are considered hidden/not exposed.) |
java.util.List<java.lang.String> |
bootClasspath |
Boot classpath: typically android.jar |
java.io.File |
classDir |
Location of class files. |
java.lang.String |
encoding |
The encoding to use when reading source files. |
java.util.List<java.io.File> |
mergeJars |
A list of existing annotation zip files (or dirs) to merge in. |
java.io.File |
output |
The output .zip file to write the annotations database to, if any |
BasePlugin |
plugin |
|
BaseVariantData |
variant |
Type | Name and description |
---|---|
protected void |
compile() |
boolean |
hasAndroidAnnotations() |
An optional pointer to an API file to filter the annotations by (any annotations not found in the API file are considered hidden/not exposed.) This is in the same format as the api-versions.xml file found in the SDK.
Boot classpath: typically android.jar
Location of class files. If set, any non-public typedef source retention annotations will be removed prior to .jar packaging.
The encoding to use when reading source files. The output file will ignore this and will always be a UTF-8 encoded .xml file inside the annotations zip file.
A list of existing annotation zip files (or dirs) to merge in. This can be used to merge in
a hardcoded set of annotations that are not present in the source code, such as
@Contract
annotations we'd like to record without actually having a dependency
on the IDEA annotations library.
The output .zip file to write the annotations database to, if any