com.android.build.gradle.api
[Java] Interface LibraryVariant

com.android.build.gradle.api.LibraryVariant
  com.android.build.gradle.api.BaseVariant
All Superinterfaces:
BaseVariant

public interface LibraryVariant
extends BaseVariant

A Build variant and all its public data.


Method Summary
Zip getPackageLibrary()

Returns the Library AAR packaging task.

TestVariant getTestVariant()

Returns the build variant that will test this build variant.

 
Methods inherited from interface BaseVariant
addJavaSourceFoldersToModel, addJavaSourceFoldersToModel, getAidlCompile, getAssemble, getBaseName, getBuildType, getCheckManifest, getDescription, getDirName, getFlavorName, getGenerateBuildConfig, getJavaCompile, getMergeAssets, getMergeResources, getMergedFlavor, getName, getNdkCompile, getOutputFile, getPackageName, getPreBuild, getProcessJavaResources, getProcessManifest, getProcessResources, getProguard, getRenderscriptCompile, getSourceSets, registerJavaGeneratingTask, registerJavaGeneratingTask, setOutputFile
 

Method Detail

getPackageLibrary

@Nullable
public Zip getPackageLibrary()
Returns the Library AAR packaging task.


getTestVariant

@Nullable
public TestVariant getTestVariant()
Returns the build variant that will test this build variant. Will return null if this build variant is a test build already.


 

Copyright (C) 2012 The Android Open Source Project