|
||||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface AndroidSourceSet
A AndroidSourceSet represents a logical group of Java, aidl, renderscript source as well as Android and non-Android resources.
Method Summary | |
---|---|
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. |
SourceDirectorySet
|
getAllJava()
All Java source files for this source set. |
SourceDirectorySet
|
getAllSource()
All source files for this source set. |
AndroidSourceDirectorySet
|
getAssets()
The Android Assets directory for this source set. |
java.lang.String
|
getCompileConfigurationName()
Returns the name of the compile configuration for this source set. |
SourceDirectorySet
|
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()
Returns the name of the runtime configuration for this source set. |
java.lang.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. |
SourceDirectorySet
|
getResources()
Returns the Java resources which are to be copied into the javaResources output directory. |
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. |
Method Detail |
---|
@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 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 SourceDirectorySet getAllJava()
@NonNull SourceDirectorySet getAllSource()
@NonNull AndroidSourceDirectorySet getAssets()
@NonNull java.lang.String getCompileConfigurationName()
@NonNull SourceDirectorySet getJava()
@NonNull AndroidSourceDirectorySet getJni()
@NonNull AndroidSourceDirectorySet getJniLibs()
@NonNull AndroidSourceFile getManifest()
@NonNull java.lang.String getName()
@NonNull java.lang.String getPackageConfigurationName()
@NonNull java.lang.String getProvidedConfigurationName()
@NonNull AndroidSourceDirectorySet getRenderscript()
@NonNull AndroidSourceDirectorySet getRes()
@NonNull SourceDirectorySet getResources()
@NonNull AndroidSourceSet java(groovy.lang.Closure configureClosure)
The given closure is used to configure the SourceDirectorySet which contains the Java source.
configureClosure
- The closure to use to configure the Java source.
@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 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 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 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 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 AndroidSourceSet resources(groovy.lang.Closure configureClosure)
The given closure is used to configure the SourceDirectorySet which contains the java resources.
configureClosure
- The closure to use to configure the javaResources.
@NonNull AndroidSourceSet setRoot(java.lang.String path)
path
- the root directory.
Copyright (C) 2012 The Android Open Source Project