Stay organized with collections
Save and categorize content based on your preferences.
DependenciesInfo
interface DependenciesInfo
DSL object to specify whether to include SDK dependency information in APKs and Bundles.
Including dependency information in your APK or Bundle allows Google Play to ensure that any third-party software your app uses complies with Google Play's Developer Program Policies. For more information, see the Play Console support page Using third-party SDKs in your app.
Summary
Public properties |
Boolean |
If false, information about SDK dependencies of an APK will not be added to its signature block.
|
Boolean |
If false, information about SDK dependencies of an App Bundle will not be added to it.
|
Public properties
includeInApk
var includeInApk: Boolean
If false, information about SDK dependencies of an APK will not be added to its signature block.
includeInBundle
var includeInBundle: Boolean
If false, information about SDK dependencies of an App Bundle will not be added to it.
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,["# DependenciesInfo\n================\n\n\n```\ninterface DependenciesInfo\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDSL object to specify whether to include SDK dependency information in APKs and Bundles.\n\nIncluding dependency information in your APK or Bundle allows Google Play to ensure that any third-party software your app uses complies with [Google Play's Developer Program Policies](https://support.google.com/googleplay/android-developer/topic/9858052). For more information, see the Play Console support page [Using third-party SDKs in your app](https://support.google.com/googleplay/android-developer/answer/10358880).\n\nSummary\n-------\n\n| ### Public properties ||\n|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includeInApk](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/DependenciesInfo#includeInApk()) If false, information about SDK dependencies of an APK will not be added to its signature block. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includeInBundle](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/DependenciesInfo#includeInBundle()) If false, information about SDK dependencies of an App Bundle will not be added to it. |\n\nPublic properties\n-----------------\n\n### includeInApk\n\n```\nvar includeInApk: Boolean\n```\n\nIf false, information about SDK dependencies of an APK will not be added to its signature block. \n\n### includeInBundle\n\n```\nvar includeInBundle: Boolean\n```\n\nIf false, information about SDK dependencies of an App Bundle will not be added to it."]]