Package-level declarations

Types

Link copied to clipboard
class AgpApiAccess @Inject constructor

This class provides:

Link copied to clipboard
typealias AgpApiBasePlugin = AndroidBasePlugin

com.android.build.gradle.api.AndroidBasePlugin

Link copied to clipboard
typealias AgpAppExtension = AppExtension

com.android.build.gradle.AppExtension

Link copied to clipboard
typealias AgpApplicationExtension = ApplicationExtension

com.android.build.api.dsl.ApplicationExtension

Link copied to clipboard
typealias AgpApplicationVariantImpl = ApplicationVariantImpl

com.android.build.gradle.internal.api.ApplicationVariantImpl

Link copied to clipboard
typealias AgpBaseExtension = BaseExtension

com.android.build.gradle.BaseExtension

Link copied to clipboard
typealias AgpBasePlugin = BasePlugin

com.android.build.gradle.BasePlugin

Link copied to clipboard
typealias AgpBaseVariant = BaseVariant

com.android.build.gradle.api.BaseVariant

Link copied to clipboard
typealias AgpCommonExtension = CommonExtension<*, *, *, *, *>

com.android.build.api.dsl.CommonExtension

Link copied to clipboard
typealias AgpComponentsExtension = AndroidComponentsExtension<*, *, *>

com.android.build.api.variant.AndroidComponentsExtension

Link copied to clipboard
typealias AgpDefaultAndroidSourceDirectorySet = DefaultAndroidSourceDirectorySet

com.android.build.gradle.internal.api.DefaultAndroidSourceDirectorySet

Link copied to clipboard
typealias AgpDynamicFeatureExtension = DynamicFeatureExtension

com.android.build.api.dsl.DynamicFeatureExtension

Link copied to clipboard
typealias AgpGenerateBuildConfig = GenerateBuildConfig

com.android.build.gradle.tasks.GenerateBuildConfig

Link copied to clipboard
typealias AgpGenerateLibraryRFileTask = GenerateLibraryRFileTask

com.android.build.gradle.internal.res.GenerateLibraryRFileTask

Link copied to clipboard
typealias AgpLibraryExtension = LibraryExtension

com.android.build.gradle.LibraryExtension

Link copied to clipboard
typealias AgpLibraryVariantImpl = LibraryVariantImpl

com.android.build.gradle.internal.api.LibraryVariantImpl

Link copied to clipboard
typealias AgpLinkApplicationAndroidResourcesTask = LinkApplicationAndroidResourcesTask

com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask

Link copied to clipboard
typealias AgpManifestProcessorTask = ManifestProcessorTask

com.android.build.gradle.tasks.ManifestProcessorTask

Link copied to clipboard
typealias AgpMergedFlavor = InternalBaseVariant.MergedFlavor

com.android.build.gradle.internal.core.InternalBaseVariant.MergedFlavor

Link copied to clipboard
typealias AgpSourceSet = AndroidSourceSet

com.android.build.api.dsl.AndroidSourceSet

Link copied to clipboard
typealias AgpTestedExtension = TestedExtension

com.android.build.gradle.TestedExtension

Link copied to clipboard
typealias AgpTestedVariant = TestedVariant

com.android.build.gradle.internal.api.TestedVariant

Link copied to clipboard
typealias AgpTestExtension = TestExtension

com.android.build.gradle.TestExtension

Link copied to clipboard
typealias AgpTestVariant = TestVariant

com.android.build.gradle.api.TestVariant

Link copied to clipboard
typealias AgpUnitTestVariant = UnitTestVariant

com.android.build.gradle.api.UnitTestVariant

Link copied to clipboard
typealias AgpVariantAwareTask = VariantAwareTask

com.android.build.gradle.internal.tasks.VariantAwareTask

Link copied to clipboard
Link copied to clipboard
class SafeAgpApiReferenceScope @PublishedApi constructor(val agpApiAccess: AgpApiAccess, val gradleProject: GradleProject)

Wrapper for accessing AGP declarations only after it's been established that they exist in the classpath.

Link copied to clipboard

Any reference to AGP code is annotated with this opt-in requirement. AGP code can only be referenced if AGP is in the target project's build classpath, so it needs to be handled carefully.

Functions

Link copied to clipboard