LibraryVariant

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

Variant for Library projects

Summary

Public methods

abstract 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 LibraryPackagingOptions

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

Inherited properties

Public methods

packagingOptions

abstract fun packagingOptions(action: LibraryPackagingOptions.() -> 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

packagingOptions

abstract val packagingOptions: LibraryPackagingOptions

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