Dependency
Library integrationβ
Depending on the offer you select when you take out your policy, make sure you include the right dependency cover.
Below, the Premium offer and the XChange offer.
currentClearVersion = 5.0.0
currentClassicVersion = 5.0.0
currentTvVersion = 5.0.0
Premium Integrationβ
- Clear template development kit (SDK)
- Classic template development kit (SDK)
- TV template development kit (SDK)
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)
}
Groovy - app build.gradleβ
dependencies {
implementation 'com.sfbx.appconsent:appconsent-ui:${currentClassicVersion}'
}
KotlinDSL - App build.gradle.kts Without version catalogβ
dependencies {
implementation("com.sfbx.appconsent:appconsent-ui:${currentClassicVersion}")
}
KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)β
Version catalogβ
[versions]
sfbx = "${currentClassicVersion}"
[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-ui", version.ref = "sfbx" }
build.gradle.ktsβ
dependencies {
implementation(libs.sfbx)
}
Groovy - app build.gradleβ
dependencies {
implementation 'com.sfbx.appconsent:appconsent-tv:${currentTvVersion}'
}
KotlinDSL - App build.gradle.kts Without version catalogβ
dependencies {
implementation("com.sfbx.appconsent:appconsent-tv:${currentTvVersion}")
}
KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)β
Version catalogβ
[versions]
sfbx = "${currentTvVersion}"
[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-tv", version.ref = "sfbx" }
build.gradle.ktsβ
dependencies {
implementation(libs.sfbx)
}
XChange integrationβ
- Clear template development kit (SDK)
- Classic template development kit (SDK)
Groovy - app build.gradleβ
dependencies {
implementation 'com.sfbx.appconsent:appconsent-ui-v3-xchange:${currentClearVersion}'
}
KotlinDSL - App build.gradle.kts Without version catalogβ
dependencies {
implementation("com.sfbx.appconsent:appconsent-ui-v3-xchange:${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-xchange", version.ref = "sfbx" }
build.gradle.ktsβ
dependencies {
implementation(libs.sfbx)
}
Groovy - app build.gradleβ
dependencies {
implementation 'com.sfbx.appconsent:appconsent-ui-xchange:${currentClassicVersion}'
}
KotlinDSL - App build.gradle.kts Without version catalogβ
dependencies {
implementation("com.sfbx.appconsent:appconsent-ui-xchange:${currentClassicVersion}")
}
KotlinDSL - App build.gradle.kts and version catalog (gradle/libs.versions.toml)β
Version catalogβ
[versions]
sfbx = "${currentClassicVersion}"
[libraries]
sfbx = { group = "com.sfbx.appconsent", name = "appconsent-ui-xchange", version.ref = "sfbx" }
build.gradle.ktsβ
dependencies {
implementation(libs.sfbx)
}