BundleConfig

@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

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

val codeTransparencyCodeTransparency

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

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Apr 11, 2024

System Broadcast Intents

Updated Sep 17, 2021

Defines the path and required permissions for a specific subset of data within a content provider. This element can be specified multiple times to supply multiple paths.…

Updated Mar 29, 2023