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,["# DependenciesInfoBuilder\n=======================\n\n\n```\ninterface DependenciesInfoBuilder\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface for component builder that specifies whether to include SDK dependency information in APKs and Bundles for the variant\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/variant/DependenciesInfoBuilder#includeInApk()) Set to `true` if information about SDK dependencies of an APK should be added to its signature block, `false` otherwise. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includeInBundle](/reference/tools/gradle-api/8.1/com/android/build/api/variant/DependenciesInfoBuilder#includeInBundle()) Set to `true` if information about SDK dependencies of an App Bundle should be added to it, `false` otherwise. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includedInApk](/reference/tools/gradle-api/8.1/com/android/build/api/variant/DependenciesInfoBuilder#includedInApk()) **This property is deprecated.** This property is renamed to includeInApk |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includedInBundle](/reference/tools/gradle-api/8.1/com/android/build/api/variant/DependenciesInfoBuilder#includedInBundle()) **This property is deprecated.** This property is renamed to includeInBundle |\n\nPublic properties\n-----------------\n\n### includeInApk\n\n```\nvar includeInApk: Boolean\n```\n\nSet to `true` if information about SDK dependencies of an APK should be added to its signature block, `false` otherwise.\n\nDefault value will match [com.android.build.api.dsl.DependenciesInfo.includeInApk](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/DependenciesInfo#includeInApk()) \n\n### includeInBundle\n\n```\nvar includeInBundle: Boolean\n```\n\nSet to `true` if information about SDK dependencies of an App Bundle should be added to it, `false` otherwise.\n\nDefault value will match [com.android.build.api.dsl.DependenciesInfo.includeInBundle](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/DependenciesInfo#includeInBundle()) \n\n### includedInApk\n\n```\nvar includedInApk: Boolean\n```\n| **This property is deprecated.** \nThis property is renamed to includeInApk \n\n### includedInBundle\n\n```\nvar includedInBundle: Boolean\n```\n| **This property is deprecated.** \n| This property is renamed to includeInBundle"]]