booster / com.didiglobal.booster.gradle / AGPInterface

AGPInterface

interface AGPInterface

Properties

aapt2Enabled

abstract val Project.aapt2Enabled: Boolean

aar

abstract val BaseVariant.aar: FileCollection

allArtifacts

abstract val BaseVariant.allArtifacts: Map<String, FileCollection>

allClasses

abstract val BaseVariant.allClasses: FileCollection

apk

abstract val BaseVariant.apk: FileCollection

assembleTask

open val BaseVariant.assembleTask: Task

assembleTaskProvider

abstract val BaseVariant.assembleTaskProvider: TaskProvider<out Task>

bootClasspath

open val TransformInvocation.bootClasspath: Collection<File>

buildTools

abstract val BaseVariant.buildTools: BuildToolInfo

dataBindingDependencyArtifacts

abstract val BaseVariant.dataBindingDependencyArtifacts: FileCollection

hasDynamicFeature

abstract val BaseVariant.hasDynamicFeature: Boolean

isAapt2Enabled

open val Project.isAapt2Enabled: Boolean

isDataBindingEnabled

open val TransformInvocation.isDataBindingEnabled: Boolean

isPrecompileDependenciesResourcesEnabled

abstract val BaseVariant.isPrecompileDependenciesResourcesEnabled: Boolean

javaCompilerTask

open val BaseVariant.javaCompilerTask: Task

javaCompilerTaskProvider

abstract val BaseVariant.javaCompilerTaskProvider: TaskProvider<out Task>

mergeAssetsTask

open val BaseVariant.mergeAssetsTask: Task

mergeAssetsTaskProvider

abstract val BaseVariant.mergeAssetsTaskProvider: TaskProvider<out Task>

mergedAssets

abstract val BaseVariant.mergedAssets: FileCollection

mergedManifests

abstract val BaseVariant.mergedManifests: FileCollection

mergedNativeLibs

abstract val BaseVariant.mergedNativeLibs: FileCollection

mergedRes

abstract val BaseVariant.mergedRes: FileCollection

mergeNativeLibsTaskProvider

abstract val BaseVariant.mergeNativeLibsTaskProvider: TaskProvider<out Task>

mergeResourcesTask

open val BaseVariant.mergeResourcesTask: Task

mergeResourcesTaskProvider

abstract val BaseVariant.mergeResourcesTaskProvider: TaskProvider<out Task>

minSdkVersion

abstract val BaseVariant.minSdkVersion: ApiVersion

originalApplicationId

abstract val BaseVariant.originalApplicationId: String

preBuildTask

open val BaseVariant.preBuildTask: Task

preBuildTaskProvider

abstract val BaseVariant.preBuildTaskProvider: TaskProvider<out Task>

processedRes

abstract val BaseVariant.processedRes: FileCollection

processJavaResourcesTask

open val BaseVariant.processJavaResourcesTask: Task

processJavaResourcesTaskProvider

abstract val BaseVariant.processJavaResourcesTaskProvider: TaskProvider<out Task>

project

abstract val BaseVariant.project: Project
open val TransformInvocation.project: Project

rawAndroidResources

abstract val BaseVariant.rawAndroidResources: FileCollection

revision

open val revision: Revision

scopeFullLibraryWithFeatures

open val scopeFullLibraryWithFeatures: MutableSet<in Scope>

scopeFullWithFeatures

open val scopeFullWithFeatures: MutableSet<in Scope>

symbolList

abstract val BaseVariant.symbolList: FileCollection

symbolListWithPackageName

abstract val BaseVariant.symbolListWithPackageName: FileCollection

targetSdkVersion

abstract val BaseVariant.targetSdkVersion: ApiVersion

task

abstract val Context.task: TransformTask

variant

open val TransformInvocation.variant: BaseVariant

variantData

abstract val BaseVariant.variantData: BaseVariantData

variantScope

abstract val BaseVariant.variantScope: VariantScope

variantType

abstract val BaseVariant.variantType: VariantType

Functions

getArtifactCollection

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

getArtifactFileCollection

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

getDependencies

abstract fun BaseVariant.getDependencies(transitive: Boolean = true, filter: (ComponentIdentifier) -> Boolean = { true }): Collection<ResolvedArtifactResult>

getTaskName

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