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

PackagingOptions

@Incubating interface PackagingOptions
com.android.build.api.variant.PackagingOptions

Defines a variant's packaging options.

Summary

Public methods

abstract Unit

PackagingOptions for java resources.

Properties

abstract JniLibsPackagingOptions

PackagingOptions for native libraries.

abstract ResourcesPackagingOptions

PackagingOptions for java resources.

Public methods

resources

abstract fun resources(action: ResourcesPackagingOptions.() -> Unit): Unit

PackagingOptions for java resources. Initialized from the corresponding DSL.

Properties

jniLibs

abstract val jniLibs: JniLibsPackagingOptions

PackagingOptions for native libraries. Initialized from the corresponding DSL.

resources

abstract val resources: ResourcesPackagingOptions

PackagingOptions for java resources. Initialized from the corresponding DSL.