# DependenciesInfoBuilder

# DependenciesInfoBuilder

<br />

```
public 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 methods |
|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `abstract boolean` | [getIncludeInApk](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#getIncludeInApk())`()` Set to`true`if information about SDK dependencies of an APK should be added to its signature block,`false`otherwise.                                   |
| `abstract boolean` | [getIncludeInBundle](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#getIncludeInBundle())`()` Set to`true`if information about SDK dependencies of an App Bundle should be added to it,`false`otherwise.                                       |
| `abstract boolean` | [getIncludedInApk](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#getIncludedInApk())`()`                                                                                                                                                      |
| `abstract boolean` | [getIncludedInBundle](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#getIncludedInBundle())`()`                                                                                                                                                |
| `abstract void`    | [setIncludeInApk](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#setIncludeInApk(kotlin.Boolean))`(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](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#setIncludeInBundle(kotlin.Boolean))`(boolean includeInBundle)` Set to`true`if information about SDK dependencies of an App Bundle should be added to it,`false`otherwise.  |
| `abstract void`    | [setIncludedInApk](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#setIncludedInApk(kotlin.Boolean))`(boolean includedInApk)`                                                                                                                   |
| `abstract void`    | [setIncludedInBundle](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/variant/DependenciesInfoBuilder#setIncludedInBundle(kotlin.Boolean))`(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](https://developer.android.com/reference/tools/gradle-api/8.3/null/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](https://developer.android.com/reference/tools/gradle-api/8.3/null/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](https://developer.android.com/reference/tools/gradle-api/8.3/null/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](https://developer.android.com/reference/tools/gradle-api/8.3/null/com/android/build/api/dsl/DependenciesInfo#includeInBundle())  

### setIncludedInApk

```
abstract void setIncludedInApk(boolean includedInApk)
```  

### setIncludedInBundle

```
abstract void setIncludedInBundle(boolean includedInBundle)
```