For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Depending on your project configuration, implement the dependency in your own way

Groovy - App build.gradle

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

KotlinDSL - App build.gradle.kts without version catalog

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

KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)

Version catalog

[versions]
sfbx = "${currentClearVersion}"

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

build.gradle.kts

dependencies { 
    implementation(libs.sfbx)
}

Depending on your project configuration, implement the dependency in your own way

Groovy - App build.gradle

KotlinDSL - App build.gradle.kts without version catalog

KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)

Catalogue de versions

build.gradle.kts

Last updated