booster / com.didiglobal.booster.gradle / com.android.build.gradle.api.BaseVariant

Extensions for com.android.build.gradle.api.BaseVariant

aar

val BaseVariant.aar: FileCollection

allArtifacts

val BaseVariant.allArtifacts: Map<String, FileCollection>

allClasses

All of classes

val BaseVariant.allClasses: FileCollection

apk

The output directory of APK files

val BaseVariant.apk: FileCollection

assembleTask

The assemble task associates with this variant

val BaseVariant.assembleTask: Task

assembleTaskProvider

val BaseVariant.assembleTaskProvider: TaskProvider<out Task>

buildTools

val BaseVariant.buildTools: BuildToolInfo

bundleClassesTaskProvider

val BaseVariant.bundleClassesTaskProvider: TaskProvider<out Task>?

bundleResourcesTask

The bundleResources tasks associates with this variant

val BaseVariant.bundleResourcesTask: Task?

bundleResourcesTaskProvider

val BaseVariant.bundleResourcesTaskProvider: TaskProvider<out Task>?

createFullJarTaskProvider

val BaseVariant.createFullJarTaskProvider: TaskProvider<out Task>?

dependencies

The variant dependencies

val BaseVariant.dependencies: Collection<ResolvedArtifactResult>

extension

The android extension associates with this variant

val BaseVariant.extension: BaseExtension

getArtifactCollection

fun BaseVariant.getArtifactCollection(configType: ConsumedConfigType, scope: ArtifactScope, artifactType: ArtifactType): ArtifactCollection

getArtifactFileCollection

fun BaseVariant.getArtifactFileCollection(configType: ConsumedConfigType, scope: ArtifactScope, artifactType: ArtifactType): FileCollection

getReport

fun BaseVariant.getReport(artifactName: String, fileName: String): File

getTaskName

fun BaseVariant.getTaskName(prefix: String): String
fun BaseVariant.getTaskName(prefix: String, suffix: String): String

isPrecompileDependenciesResourcesEnabled

val BaseVariant.isPrecompileDependenciesResourcesEnabled: Boolean

javaCompilerTask

The compileJava task associates with this variant

val BaseVariant.javaCompilerTask: Task

javaCompilerTaskProvider

val BaseVariant.javaCompilerTaskProvider: TaskProvider<out Task>

mergeAssetsTask

The mergeAssets task associates with this variant

val BaseVariant.mergeAssetsTask: Task

mergeAssetsTaskProvider

val BaseVariant.mergeAssetsTaskProvider: TaskProvider<out Task>

mergedAssets

The output directory of merged assets

val BaseVariant.mergedAssets: FileCollection

mergedManifests

The output directory of merged AndroidManifest.xml

val BaseVariant.mergedManifests: FileCollection

mergedNativeLibs

The output directory of merged native libs

val BaseVariant.mergedNativeLibs: FileCollection

mergedRes

The output directory of merged resources

val BaseVariant.mergedRes: FileCollection

mergeJavaResourceTask

val BaseVariant.mergeJavaResourceTask: Task?

mergeJavaResourceTaskProvider

val BaseVariant.mergeJavaResourceTaskProvider: TaskProvider<out Task>?

mergeNativeLibsTaskProvider

val BaseVariant.mergeNativeLibsTaskProvider: TaskProvider<out Task>

mergeResourcesTask

The mergeResources task associates with this variant

val BaseVariant.mergeResourcesTask: Task

mergeResourcesTaskProvider

val BaseVariant.mergeResourcesTaskProvider: TaskProvider<out Task>

minSdkVersion

val BaseVariant.minSdkVersion: ApiVersion

originalApplicationId

val BaseVariant.originalApplicationId: String

packageBundleTask

The packageBundle tasks associates with this variant

val BaseVariant.packageBundleTask: Task?

packageBundleTaskProvider

val BaseVariant.packageBundleTaskProvider: TaskProvider<out Task>?

packageTaskProvider

val BaseVariant.packageTaskProvider: TaskProvider<out Task>?

platform

The location of $ANDROID_HOME/platforms/android-${compileSdkVersion}

val BaseVariant.platform: File

preBuildTask

The preBuild task associates with this variant

val BaseVariant.preBuildTask: Task

preBuildTaskProvider

val BaseVariant.preBuildTaskProvider: TaskProvider<out Task>

processedRes

The output directory of processed resources: resources-variant.ap\_

val BaseVariant.processedRes: FileCollection

processJavaResourcesTask

val BaseVariant.processJavaResourcesTask: Task

processJavaResourcesTaskProvider

val BaseVariant.processJavaResourcesTaskProvider: TaskProvider<out Task>

processResTask

The processRes task associates with this variant

val BaseVariant.processResTask: ProcessAndroidResources?

processResTaskProvider

val BaseVariant.processResTaskProvider: TaskProvider<out Task>?

project

The project which this variant belongs

val BaseVariant.project: Project

symbolList

val BaseVariant.symbolList: FileCollection

symbolListWithPackageName

val BaseVariant.symbolListWithPackageName: FileCollection

variantType

val BaseVariant.variantType: VariantType