| API Documentation: | AndroidSourceSet |
|---|
A AndroidSourceSet represents a logical group of Java, aidl, renderscript source
as well as Android and non-Android 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. |
| Block | Description |
aidl | Configures the location of the Android AIDL source for this set. |
assets | Configures the location of the Android Assets for this set. |
java | Configures the Java source for this set. |
jni | Configures the location of the Android JNI source for this set. |
jniLibs | Configures the location of the Android JNI libs for this set. |
manifest | Configures the location of the Android Manifest for this set. |
manifest | Configures the location of the Android Manifest for this set. |
renderscript | Configures the location of the Android Renderscript source for this set. |
res | Configures the location of the Android Resources for this set. |
resources | Configures the Java resources for this set. |
AndroidSourceDirectorySet aidl (read-only)
The Android AIDL source directory for this source set.
AndroidSourceDirectorySet assets (read-only)
The Android Assets directory for this source set.
String compileConfigurationName (read-only)
The name of the compile configuration for this source set.
AndroidSourceDirectorySet java (read-only)
The Java source which is to be compiled by the Java compiler into the class output directory.
AndroidSourceDirectorySet jni (read-only)
The Android JNI source directory for this source set.
AndroidSourceDirectorySet jniLibs (read-only)
The Android JNI libs directory for this source set.
AndroidSourceFile manifest (read-only)
The Android Manifest file for this source set.
String name (read-only)
The name of this source set.
String packageConfigurationName (read-only)
The name of the runtime configuration for this source set.
String providedConfigurationName (read-only)
The name of the compiled-only configuration for this source set.
AndroidSourceDirectorySet renderscript (read-only)
The Android Renderscript source directory for this source set.
AndroidSourceDirectorySet res (read-only)
The Android Resources directory for this source set.
AndroidSourceDirectorySet resources (read-only)
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.
Configures the location of the Android AIDL source for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the AIDL source.
- Delegates to:
AndroidSourceDirectorySetfromaidl
Configures the location of the Android Assets for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the assets.
- Delegates to:
AndroidSourceDirectorySetfromassets
Configures the Java source for this set.
The given closure is used to configure the AndroidSourceDirectorySet which
contains the Java source.
- Delegates to:
AndroidSourceDirectorySetfromjava
Configures the location of the Android JNI source for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the JNI source.
- Delegates to:
AndroidSourceDirectorySetfromjni
Configures the location of the Android JNI libs for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the JNI libs.
- Delegates to:
AndroidSourceDirectorySetfromjniLibs
Configures the location of the Android Manifest for this set.
The given closure is used to configure the AndroidSourceFile which contains the
manifest.
- Delegates to:
AndroidSourceFilefrommanifest
Configures the location of the Android Manifest for this set.
The given closure is used to configure the AndroidSourceFile which contains the
manifest.
- Delegates to:
AndroidSourceFilefrommanifest
Configures the location of the Android Renderscript source for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the Renderscript source.
- Delegates to:
AndroidSourceDirectorySetfromrenderscript
Configures the location of the Android Resources for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which contains the resources.
- Delegates to:
AndroidSourceDirectorySetfromres
Configures the Java resources for this set.
The given closure is used to configure the AndroidSourceDirectorySet which
contains the java resources.
- Delegates to:
AndroidSourceDirectorySetfromresources