Google is committed to advancing racial equity for Black communities. See how.

LibraryVariant

@Incubating interface LibraryVariant : Variant
com.android.build.api.variant.LibraryVariant

Variant for Library projects

Summary

Public methods

abstract Unit
packaging(action: LibraryPackaging.() -> Unit)

Variant's packagingOptions, initialized by the corresponding global DSL element.

Inherited functions

Properties

abstract Provider<String>

Variant's application ID as present in the final manifest file of the APK.

abstract LibraryPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

Inherited properties

Public methods

packaging

abstract fun packaging(action: LibraryPackaging.() -> Unit): Unit

Variant's packagingOptions, initialized by the corresponding global DSL element.

Properties

applicationId

abstract val applicationId: Provider<String>

Variant's application ID as present in the final manifest file of the APK.

This is a read-ony value based on the package entry in the manifest

packaging

abstract val packaging: LibraryPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.