# Step 2: Dependency

***

Depending on your platform (Smartphone/Tablet or TV), integrate the Clear or TV version.

`currentClearVersion = 5.9.0`\
`currentTvVersion = 5.9.0`

{% tabs %}
{% tab title="Mobile / Tablet" %}
{% hint style="info" %}
Depending on your project configuration, implement the dependency in your own way
{% endhint %}

**Groovy**  - **App build.gradle**

```groovy
dependencies { 
    implementation 'com.sfbx.appconsent:appconsent-ui-v3:${currentClearVersion}' 
}
```

#### KotlinDSL - App build.gradle.kts without v**ersion catalog** <a href="#kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions" id="kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions"></a>

```kotlin
dependencies { 
    implementation("com.sfbx.appconsent:appconsent-ui-v3:${currentClearVersion}")
}
```

#### KotlinDSL - App build.gradle.kts and v**ersion catalog** (gradle/libs.versions.toml) <a href="#kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions" id="kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions"></a>

**Version catalog**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#catalogue-de-versions)

```java
[versions]
sfbx = "${currentClearVersion}"

[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-ui-v3", version.ref = "sfbx" }
```

**build.gradle.kts**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#buildgradlekts)

```java
dependencies { 
    implementation(libs.sfbx)
}
```

{% endtab %}

{% tab title="TV" %}
{% hint style="info" %}
Depending on your project configuration, implement the dependency in your own way
{% endhint %}

**Groovy**  - **App build.gradle**

```groovy
dependencies { 
    implementation 'com.sfbx.appconsent:appconsent-tv:${currentTvVersion}' 
}
```

#### KotlinDSL - App build.gradle.kts without v**ersion catalog** <a href="#kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions" id="kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions"></a>

```kotlin
dependencies { 
    implementation("com.sfbx.appconsent:appconsent-tv:${currentTvVersion}")
}
```

#### KotlinDSL - App build.gradle.kts and v**ersion catalog** (gradle/libs.versions.toml) <a href="#kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions" id="kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions"></a>

**Catalogue de versions**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#catalogue-de-versions)

```java
[versions]
sfbx = "${currentTvVersion}"

[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-tv", version.ref = "sfbx" }
```

**build.gradle.kts**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#buildgradlekts)

```java
dependencies { 
    implementation(libs.sfbx)
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sfbx.io/configuration/step-3-notice-implementation-web-app-tv/android/old-sdk-appconsentsdk/step-2-dependency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
