LibraryExtension

interface LibraryExtension : CommonExtension<LibraryBuildFeatures, LibraryBuildType, LibraryDefaultConfig, LibraryProductFlavor>, TestedExtension
com.android.build.api.dsl.LibraryExtension

Extension for the Android Library Gradle Plugin.

This is the android block when the com.android.library plugin is applied.

Only the Android Gradle Plugin should create instances of interfaces in com.android.build.api.dsl.

Summary

Public methods

abstract Unit

Customizes publishing build variant artifacts from library module to a Maven repository.

Inherited functions

Properties

abstract MutableCollection<String>?

Aidl files to package in the aar.

abstract NamedDomainObjectContainer<PrefabPackagingOptions>

container of Prefab options

abstract LibraryPublishing

Customizes publishing build variant artifacts from library module to a Maven repository.

Inherited properties

Public methods

publishing

abstract fun publishing(action: LibraryPublishing.() -> Unit): Unit

Customizes publishing build variant artifacts from library module to a Maven repository.

For more information about the properties you can configure in this block, see LibraryPublishing

Properties

aidlPackagedList

abstract val aidlPackagedList: MutableCollection<String>?

Aidl files to package in the aar.

prefab

abstract val prefab: NamedDomainObjectContainer<PrefabPackagingOptions>

container of Prefab options

publishing

abstract val publishing: LibraryPublishing

Customizes publishing build variant artifacts from library module to a Maven repository.

For more information about the properties you can configure in this block, see LibraryPublishing