Stay organized with collections
Save and categorize content based on your preferences.
@Incubating
interface ApkExtension
Common extension properties for the Android Gradle Plugin Application and Dynamic Feature plugins.
Only the Android Gradle Plugin should create instances of this interface.
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ApkExtension\n============\n\n[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/ApkExtension.kt+class:com.android.build.api.dsl.ApkExtension) \nAdded in 4.2.0 \n\n\n```\n@Incubating\ninterface ApkExtension\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ApplicationExtension](/reference/tools/gradle-api/8.7/com/android/build/api/dsl/ApplicationExtension), [DynamicFeatureExtension](/reference/tools/gradle-api/8.7/com/android/build/api/dsl/DynamicFeatureExtension) \n\n|--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|\n| [ApplicationExtension](/reference/tools/gradle-api/8.7/com/android/build/api/dsl/ApplicationExtension) | Extension for the Android Gradle Plugin Application plugin. |\n| [DynamicFeatureExtension](/reference/tools/gradle-api/8.7/com/android/build/api/dsl/DynamicFeatureExtension) | Extension for the Android Dynamic Feature Gradle Plugin. |\n\n*** ** * ** ***\n\nCommon extension properties for the Android Gradle Plugin Application and Dynamic Feature plugins.\n\nOnly the Android Gradle Plugin should create instances of this interface."]]