RealAndroidPlatformPluginFactory
class RealAndroidPlatformPluginFactory @Inject constructor(val agpApiAccess: AgpApiAccess, val configurationsFactory: ConfigurationsFactory, val sourceSetsFactory: SourceSetsFactory) : AndroidPlatformPluginFactory(source)
Factory for creating AndroidPlatformPlugin instances based on the type of Android Gradle Plugin (AGP) extension.
Parameters
agpApiAccess
Provides access to AGP APIs.
configurationsFactory
Factory for creating Configurations instances.
sourceSetsFactory
Factory for creating SourceSets instances.
Constructors
Link copied to clipboard
@Inject
Functions
Link copied to clipboard
open override fun create(gradleProject: GradleProject, agpCommonExtension: AgpCommonExtension, hasTestFixturesPlugin: Boolean): AndroidPlatformPlugin
Creates an AndroidPlatformPlugin based on the provided parameters. It handles different AGP extension types and applies the necessary configurations.
Link copied to clipboard
private fun parseResValues(type: RealAndroidPlatformPluginFactory.AgpExtensionType<*>): MutableMap<SourceSetName, Set<UnqualifiedAndroidResource>>