# DependenciesInfoBuilder

# DependenciesInfoBuilder

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/DependenciesInfoBuilder.kt+class:com.android.build.api.variant.DependenciesInfoBuilder)  
Added in 7.0.0  

<br />

```
interface DependenciesInfoBuilder
```

<br />

*** ** * ** ***

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](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).

## Summary

|                               ### Public properties                                |
|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includeInApk](https://developer.android.com/reference/tools/gradle-api/9.0/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. |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [includeInBundle](https://developer.android.com/reference/tools/gradle-api/9.0/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.     |

## Public properties

### includeInApk

Added in 8.1.0  

```
var includeInApk: Boolean
```

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](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/dsl/DependenciesInfo#includeInApk())

It's not safe to read this value. Use[DependenciesInfo.includedInApk](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/variant/DependenciesInfo#includedInApk())instead (found on[ApplicationVariant](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/variant/ApplicationVariant)  

### includeInBundle

Added in 8.1.0  

```
var includeInBundle: Boolean
```

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](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/dsl/DependenciesInfo#includeInBundle())

It's not safe to read this value. Use[DependenciesInfo.includedInBundle](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/variant/DependenciesInfo#includedInBundle())instead (found on[ApplicationVariant](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/variant/ApplicationVariant)