An AndroidSourceFile represents a single file input for an Android project.
Type | Name and description |
---|---|
String |
getName() A concise name for the source directory (typically used to identify it in a collection). |
File |
getSrcFile() Returns the file. |
AndroidSourceFile |
srcFile(Object srcPath) Sets the location of the file. |
A concise name for the source directory (typically used to identify it in a collection).
Returns the file.
Sets the location of the file.
srcPath
- The source directory. This is evaluated as for
org.gradle.api.Project#file(Object)