Stay organized with collections
Save and categorize content based on your preferences.
Bundle
interface Bundle
Features that apply to distribution by the bundle
Summary
Public functions
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Bundle\n======\n\n\n```\ninterface Bundle\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nFeatures that apply to distribution by the bundle\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [abi](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#abi(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleAbi](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleAbi)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [codeTransparency](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#codeTransparency(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleCodeTransparency](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleCodeTransparency)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [density](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#density(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleDensity](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleDensity)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [deviceTier](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#deviceTier(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleDeviceTier](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleDeviceTier)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [language](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#language(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleLanguage](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleLanguage)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [storeArchive](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#storeArchive(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleStoreArchive](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleStoreArchive)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [texture](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#texture(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[BundleTexture](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleTexture)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` |\n\n| ### Public properties ||\n|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| [BundleAbi](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleAbi) | [abi](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#abi()) |\n| [BundleCodeTransparency](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleCodeTransparency) | [codeTransparency](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#codeTransparency()) |\n| [BundleDensity](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleDensity) | [density](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#density()) |\n| [BundleDeviceTier](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleDeviceTier) | [deviceTier](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#deviceTier()) |\n| [DirectoryProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/file/DirectoryProperty.html) | [integrityConfigDir](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#integrityConfigDir()) |\n| [BundleLanguage](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleLanguage) | [language](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#language()) |\n| [BundleStoreArchive](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleStoreArchive) | [storeArchive](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#storeArchive()) |\n| [BundleTexture](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/BundleTexture) | [texture](/reference/tools/gradle-api/7.4/com/android/build/api/dsl/Bundle#texture()) |\n\nPublic functions\n----------------\n\n### abi\n\n```\nfun abi(action: @ExtensionFunctionType BundleAbi.() -\u003e Unit): Unit\n``` \n\n### codeTransparency\n\n```\n@Incubating\nfun codeTransparency(action: @ExtensionFunctionType BundleCodeTransparency.() -\u003e Unit): Unit\n``` \n\n### density\n\n```\nfun density(action: @ExtensionFunctionType BundleDensity.() -\u003e Unit): Unit\n``` \n\n### deviceTier\n\n```\n@Incubating\nfun deviceTier(action: @ExtensionFunctionType BundleDeviceTier.() -\u003e Unit): Unit\n``` \n\n### language\n\n```\nfun language(action: @ExtensionFunctionType BundleLanguage.() -\u003e Unit): Unit\n``` \n\n### storeArchive\n\n```\nfun storeArchive(action: @ExtensionFunctionType BundleStoreArchive.() -\u003e Unit): Unit\n``` \n\n### texture\n\n```\nfun texture(action: @ExtensionFunctionType BundleTexture.() -\u003e Unit): Unit\n```\n\nPublic properties\n-----------------\n\n### abi\n\n```\nval abi: BundleAbi\n``` \n\n### codeTransparency\n\n```\nval codeTransparency: BundleCodeTransparency\n``` \n\n### density\n\n```\nval density: BundleDensity\n``` \n\n### deviceTier\n\n```\nval deviceTier: BundleDeviceTier\n``` \n\n### integrityConfigDir\n\n```\nval integrityConfigDir: DirectoryProperty\n``` \n\n### language\n\n```\nval language: BundleLanguage\n``` \n\n### storeArchive\n\n```\nval storeArchive: BundleStoreArchive\n``` \n\n### texture\n\n```\nval texture: BundleTexture\n```"]]