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

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

aar

val BaseVariant.aar: Collection<File>

allArtifacts

val BaseVariant.allArtifacts: Map<String, Collection<File>>

allClasses

All of classes

val BaseVariant.allClasses: Collection<File>

apk

The output directory of APK files

val BaseVariant.apk: Collection<File>

assembleTask

The assemble task associates with this variant

val BaseVariant.assembleTask: Task

assembleTaskProvider

val BaseVariant.assembleTaskProvider: TaskProvider<out Task>

buildTools

val BaseVariant.buildTools: BuildToolInfo

bundleResourcesTask

The bundleResources tasks associates with this variant

val BaseVariant.bundleResourcesTask: Task?

bundleResourcesTaskProvider

val BaseVariant.bundleResourcesTaskProvider: 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

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: Collection<File>

mergedManifests

The output directory of merged AndroidManifest.xml

val BaseVariant.mergedManifests: Collection<File>

mergedRes

The output directory of merged resources

val BaseVariant.mergedRes: Collection<File>

mergeJavaResourceTask

val BaseVariant.mergeJavaResourceTask: Task?

mergeJavaResourceTaskProvider

val BaseVariant.mergeJavaResourceTaskProvider: 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: AndroidVersion

originalApplicationId

val BaseVariant.originalApplicationId: String

packageBundleTask

The packageBundle tasks associates with this variant

val BaseVariant.packageBundleTask: Task?

packageBundleTaskProvider

val BaseVariant.packageBundleTaskProvider: 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: Collection<File>

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: Collection<File>

symbolListWithPackageName

val BaseVariant.symbolListWithPackageName: Collection<File>

variantType

val BaseVariant.variantType: VariantType