DependenciesInfoBuilder

public 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 methods

abstract boolean

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

abstract boolean

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

abstract boolean
abstract boolean
abstract void
setIncludeInApk(boolean includeInApk)

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

abstract void
setIncludeInBundle(boolean includeInBundle)

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

abstract void
setIncludedInApk(boolean includedInApk)
abstract void
setIncludedInBundle(boolean includedInBundle)

Public methods

getIncludeInApk

abstract boolean getIncludeInApk()

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

getIncludeInBundle

abstract boolean getIncludeInBundle()

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

getIncludedInApk

abstract boolean getIncludedInApk()

getIncludedInBundle

abstract boolean getIncludedInBundle()

setIncludeInApk

abstract void setIncludeInApk(boolean includeInApk)

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

setIncludeInBundle

abstract void setIncludeInBundle(boolean includeInBundle)

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

setIncludedInApk

abstract void setIncludedInApk(boolean includedInApk)

setIncludedInBundle

abstract void setIncludedInBundle(boolean includedInBundle)