Skip to main content

Dependency


Library integration​

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

currentClearVersion = 5.3.0
currentTvVersion = 5.2.0

Library Integration​


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)
}