A AndroidSourceSet
represents a logical group of Java, aidl, renderscript source
as well as Android and non-Android resources.
Type | Name and description |
---|---|
AndroidSourceSet |
aidl(Closure configureClosure) Configures the location of the Android AIDL source for this set. |
AndroidSourceSet |
assets(Closure configureClosure) Configures the location of the Android Assets for this set. |
AndroidSourceDirectorySet |
getAidl() The Android AIDL source directory for this source set. |
AndroidSourceDirectorySet |
getAssets() The Android Assets directory for this source set. |
String |
getCompileConfigurationName() Returns the name of the compile configuration for this source set. |
AndroidSourceDirectorySet |
getJava() Returns the Java source which is to be compiled by the Java compiler into the class output directory. |
AndroidSourceDirectorySet |
getJni() The Android JNI source directory for this source set. |
AndroidSourceDirectorySet |
getJniLibs() The Android JNI libs directory for this source set. |
AndroidSourceFile |
getManifest() The Android Manifest file for this source set. |
String |
getName() Returns the name of this source set. |
String |
getPackageConfigurationName() Returns the name of the runtime configuration for this source set. |
String |
getProvidedConfigurationName() Returns the name of the compiled-only configuration for this source set. |
AndroidSourceDirectorySet |
getRenderscript() The Android Renderscript source directory for this source set. |
AndroidSourceDirectorySet |
getRes() The Android Resources directory for this source set. |
AndroidSourceDirectorySet |
getResources() Returns the Java resources which are to be copied into the javaResources output directory. |
String |
getWearAppConfigurationName() Returns the name of the wearApp configuration for this source set. |
AndroidSourceSet |
java(Closure configureClosure) Configures the Java source for this set. |
AndroidSourceSet |
jni(Closure configureClosure) Configures the location of the Android JNI source for this set. |
AndroidSourceSet |
jniLibs(Closure configureClosure) Configures the location of the Android JNI libs for this set. |
AndroidSourceSet |
manifest(Closure configureClosure) Configures the location of the Android Manifest for this set. |
AndroidSourceSet |
renderscript(Closure configureClosure) Configures the location of the Android Renderscript source for this set. |
AndroidSourceSet |
res(Closure configureClosure) Configures the location of the Android Resources for this set. |
AndroidSourceSet |
resources(Closure configureClosure) Configures the Java resources for this set. |
AndroidSourceSet |
setRoot(String path) Sets the root of the source sets to a given path. |
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.
configureClosure
- The closure to use to configure the AIDL source.Configures the location of the Android Assets for this set.
The given closure is used to configure the AndroidSourceDirectorySet which contains the assets.
configureClosure
- The closure to use to configure the Assets.The Android AIDL source directory for this source set.
The Android Assets directory for this source set.
Returns the name of the compile configuration for this source set.
Returns 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.
The Android JNI libs directory for this source set.
The Android Manifest file for this source set.
Returns the name of this source set.
Returns the name of the runtime configuration for this source set.
Returns the name of the compiled-only configuration for this source set.
The Android Renderscript source directory for this source set.
The Android Resources directory for this source set.
Returns the Java resources which are to be copied into the javaResources output directory.
Returns the name of the wearApp configuration for this source set.
Configures the Java source for this set.
The given closure is used to configure the AndroidSourceDirectorySet which contains the Java source.
configureClosure
- The closure to use to configure the Java source.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.
configureClosure
- The closure to use to configure the JNI source.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.
configureClosure
- The closure to use to configure the JNI libs.Configures the location of the Android Manifest for this set.
The given closure is used to configure the AndroidSourceFile which contains the manifest.
configureClosure
- The closure to use to configure the Android Manifest.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.
configureClosure
- The closure to use to configure the Renderscript source.Configures the location of the Android Resources for this set.
The given closure is used to configure the AndroidSourceDirectorySet which contains the resources.
configureClosure
- The closure to use to configure the Resources.Configures the Java resources for this set.
The given closure is used to configure the AndroidSourceDirectorySet which contains the java resources.
configureClosure
- The closure to use to configure the javaResources.Sets the root of the source sets to a given path. All entries of the source set are located under this root directory.
path
- the root directory.