'android' extension for 'com.android.library' project. This extends BaseExtension
Constructor and description |
---|
LibraryExtension
(LibraryPlugin plugin, org.gradle.api.internal.project.ProjectInternal project, org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.NamedDomainObjectContainer<BuildType> buildTypes, org.gradle.api.NamedDomainObjectContainer<GroupableProductFlavor> productFlavors, org.gradle.api.NamedDomainObjectContainer<SigningConfig> signingConfigs, boolean isLibrary) |
Type | Name and description |
---|---|
void |
addVariant(BaseVariant variant) |
org.gradle.api.internal.DefaultDomainObjectSet<LibraryVariant> |
getLibraryVariants() Returns the list of library variants. |
boolean |
getPackageBuildConfig() |
void |
packageBuildConfig(boolean value) |
void |
setPackageBuildConfig(boolean value) |
Returns the list of library variants. Since the collections is built after evaluation,
it should be used with Groovy's all
iterator to process future items.