An AndroidSourceSet represents a logical group of Java, aidl and RenderScript sources as well as Android and non-Android (Java-style) resources.
Property | Description |
aidl | The Android AIDL source directory for this source set. |
assets | The Android Assets directory for this source set. |
compileConfigurationName | The name of the compile configuration for this source set. |
java | The Java source which is to be compiled by the Java compiler into the class output directory. |
jni | The Android JNI source directory for this source set. |
jniLibs | The Android JNI libs directory for this source set. |
manifest | The Android Manifest file for this source set. |
name | The name of this source set. |
packageConfigurationName | The name of the runtime configuration for this source set. |
providedConfigurationName | The name of the compiled-only configuration for this source set. |
renderscript | The Android RenderScript source directory for this source set. |
res | The Android Resources directory for this source set. |
resources | The Java resources which are to be copied into the javaResources output directory. |
Method | Description |
setRoot(path) | Sets the root of the source sets to a given path. All entries of the source set are located under this root directory. |
The Android AIDL source directory for this source set.
AndroidSourceDirectorySet
assets
The Android Assets directory for this source set.
String
compileConfigurationName
The name of the compile configuration for this source set.
The Java source which is to be compiled by the Java compiler into the class output directory.
The Android JNI source directory for this source set.
AndroidSourceDirectorySet
jniLibs
The Android JNI libs directory for this source set.
AndroidSourceFile
manifest
The Android Manifest file for this source set.
String
name
The name of this source set.
String
packageConfigurationName
The name of the runtime configuration for this source set.
String
providedConfigurationName
The name of the compiled-only configuration for this source set.
AndroidSourceDirectorySet
renderscript
The Android RenderScript source directory for this source set.
The Android Resources directory for this source set.
AndroidSourceDirectorySet
resources
The Java resources which are to be copied into the javaResources output directory.
AndroidSourceSet
setRoot
(String
path)
Sets the root of the source sets to a given path. All entries of the source set are located under this root directory.