BundleConfig

Added in 7.1.0

@Incubating
interface BundleConfig


Information related to the actions creating a bundle (.aab) file for the variant.

Summary

Public functions

Unit
addMetadataFile(metadataDirectory: String, file: Provider<RegularFile>)

Add a metadata file to the bundle (.aab) file.

Public properties

CodeTransparency

Settings associated with the code transparency feature in bundles.

Public functions

addMetadataFile

Added in 7.2.0
fun addMetadataFile(metadataDirectory: String, file: Provider<RegularFile>): Unit

Add a metadata file to the bundle (.aab) file. The file will be added under the BUNDLE-METADATA folder.

Parameters
metadataDirectory: String

the directory below BUNDLE-METADATA where the file should be stored.

file: Provider<RegularFile>

the Provider of RegularFile that can be wired from a org.gradle.api.Task output or an existing file in the project directory.

Public properties

codeTransparency

Added in 7.1.0
val codeTransparencyCodeTransparency

Settings associated with the code transparency feature in bundles. Initialized from the corresponding DSL elements.