DependenciesInfoBuilder

Added in 7.0.0

interface DependenciesInfoBuilder


Interface for component builder that specifies whether to include SDK dependency information in APKs and Bundles for the variant

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

Set to true if information about SDK dependencies of an APK should be added to its signature block, false otherwise.

Boolean

Set to true if information about SDK dependencies of an App Bundle should be added to it, false otherwise.

Boolean

This property is deprecated. This property is renamed to includeInApk

Boolean

This property is deprecated. This property is renamed to includeInBundle

Public properties

includeInApk

Added in 8.1.0
var includeInApkBoolean

Set to true if information about SDK dependencies of an APK should be added to its signature block, false otherwise.

Default value will match com.android.build.api.dsl.DependenciesInfo.includeInApk

It's not safe to read this value. Use DependenciesInfo.includedInApk instead (found on ApplicationVariant

includeInBundle

Added in 8.1.0
var includeInBundleBoolean

Set to true if information about SDK dependencies of an App Bundle should be added to it, false otherwise.

Default value will match com.android.build.api.dsl.DependenciesInfo.includeInBundle

It's not safe to read this value. Use DependenciesInfo.includedInBundle instead (found on ApplicationVariant

includedInApk

Added in 7.0.0
Deprecated in 8.1.0
var includedInApkBoolean

includedInBundle

Added in 7.0.0
Deprecated in 8.1.0
var includedInBundleBoolean