public interface AndroidSourceSet
Modifier and Type | Method and Description |
---|---|
AndroidSourceSet |
aidl(groovy.lang.Closure configureClosure)
Configures the location of the Android AIDL source for this set.
|
AndroidSourceSet |
assets(groovy.lang.Closure configureClosure)
Configures the location of the Android Assets for this set.
|
AndroidSourceDirectorySet |
getAidl()
The Android AIDL source directory for this source set.
|
java.lang.String |
getAnnotationProcessorConfigurationName()
Returns the name of the annotation processing tool classpath for this source set.
|
java.lang.String |
getApiConfigurationName()
Returns the name of the api configuration for this source set.
|
AndroidSourceDirectorySet |
getAssets()
The Android Assets directory for this source set.
|
java.lang.String |
getCompileConfigurationName()
Deprecated.
|
java.lang.String |
getCompileOnlyConfigurationName()
Returns the name of the compileOnly configuration for this source set.
|
java.lang.String |
getImplementationConfigurationName()
Returns the name of the implemenation 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.
|
java.lang.String |
getName()
Returns the name of this source set.
|
java.lang.String |
getPackageConfigurationName()
Deprecated.
|
java.lang.String |
getProvidedConfigurationName()
Deprecated.
|
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.
|
java.lang.String |
getRuntimeOnlyConfigurationName()
Returns the name of the implemenation configuration for this source set.
|
AndroidSourceDirectorySet |
getShaders()
The Android shaders directory for this source set.
|
java.lang.String |
getWearAppConfigurationName()
Returns the name of the wearApp configuration for this source set.
|
AndroidSourceSet |
java(groovy.lang.Closure configureClosure)
Configures the Java source for this set.
|
AndroidSourceSet |
jni(groovy.lang.Closure configureClosure)
Configures the location of the Android JNI source for this set.
|
AndroidSourceSet |
jniLibs(groovy.lang.Closure configureClosure)
Configures the location of the Android JNI libs for this set.
|
AndroidSourceSet |
manifest(groovy.lang.Closure configureClosure)
Configures the location of the Android Manifest for this set.
|
AndroidSourceSet |
renderscript(groovy.lang.Closure configureClosure)
Configures the location of the Android RenderScript source for this set.
|
AndroidSourceSet |
res(groovy.lang.Closure configureClosure)
Configures the location of the Android Resources for this set.
|
AndroidSourceSet |
resources(groovy.lang.Closure configureClosure)
Configures the Java resources for this set.
|
AndroidSourceSet |
setRoot(java.lang.String path)
Sets the root of the source sets to a given path.
|
AndroidSourceSet |
shaders(groovy.lang.Closure configureClosure)
Configures the location of the Android shaders for this set.
|
@NonNull java.lang.String getName()
@NonNull AndroidSourceDirectorySet getResources()
@NonNull AndroidSourceSet resources(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which
contains the java resources.
configureClosure
- The closure to use to configure the javaResources.@NonNull AndroidSourceDirectorySet getJava()
@NonNull AndroidSourceSet java(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which
contains the Java source.
configureClosure
- The closure to use to configure the Java source.@NonNull @Deprecated java.lang.String getCompileConfigurationName()
getImplementationConfigurationName()
@NonNull @Deprecated java.lang.String getPackageConfigurationName()
getRuntimeOnlyConfigurationName()
@NonNull @Deprecated java.lang.String getProvidedConfigurationName()
getCompileOnlyConfigurationName()
@NonNull java.lang.String getApiConfigurationName()
@NonNull java.lang.String getCompileOnlyConfigurationName()
@NonNull java.lang.String getImplementationConfigurationName()
@NonNull java.lang.String getRuntimeOnlyConfigurationName()
@NonNull java.lang.String getWearAppConfigurationName()
@NonNull java.lang.String getAnnotationProcessorConfigurationName()
@NonNull AndroidSourceFile getManifest()
@NonNull AndroidSourceSet manifest(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceFile
which contains the
manifest.
configureClosure
- The closure to use to configure the Android Manifest.@NonNull AndroidSourceDirectorySet getRes()
@NonNull AndroidSourceSet res(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the resources.
configureClosure
- The closure to use to configure the Resources.@NonNull AndroidSourceDirectorySet getAssets()
@NonNull AndroidSourceSet assets(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the assets.
configureClosure
- The closure to use to configure the Assets.@NonNull AndroidSourceDirectorySet getAidl()
@NonNull AndroidSourceSet aidl(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the AIDL source.
configureClosure
- The closure to use to configure the AIDL source.@NonNull AndroidSourceDirectorySet getRenderscript()
@NonNull AndroidSourceSet renderscript(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the Renderscript source.
configureClosure
- The closure to use to configure the Renderscript source.@NonNull AndroidSourceDirectorySet getJni()
@NonNull AndroidSourceSet jni(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the JNI source.
configureClosure
- The closure to use to configure the JNI source.@NonNull AndroidSourceDirectorySet getJniLibs()
@NonNull AndroidSourceSet jniLibs(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the JNI libs.
configureClosure
- The closure to use to configure the JNI libs.@NonNull AndroidSourceDirectorySet getShaders()
@NonNull AndroidSourceSet shaders(groovy.lang.Closure configureClosure)
The given closure is used to configure the AndroidSourceDirectorySet
which contains the shaders.
configureClosure
- The closure to use to configure the shaders.@NonNull AndroidSourceSet setRoot(java.lang.String path)
path
- the root directory.