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. |
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. |
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.
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:
AndroidSourceDirectorySet
fromaidl
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:
AndroidSourceDirectorySet
fromassets
Configures the Java source for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which
contains the Java source.
- Delegates to:
AndroidSourceDirectorySet
fromjava
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:
AndroidSourceDirectorySet
fromjni
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:
AndroidSourceDirectorySet
fromjniLibs
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:
AndroidSourceFile
frommanifest
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:
AndroidSourceFile
frommanifest
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:
AndroidSourceDirectorySet
fromrenderscript
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:
AndroidSourceDirectorySet
fromres
Configures the Java resources for this set.
The given closure is used to configure the AndroidSourceDirectorySet
which
contains the java resources.
- Delegates to:
AndroidSourceDirectorySet
fromresources