Gradle Dependencies

Installation

Gradle Configuration

Add these lines to your settings.gradle.

dependencyResolutionManagement {
    repositories {
        ...
        maven { url = uri("https://repo.combateafraude.com/android/release") }
        maven { setUrl("https://jitpack.io") }
    }
}

Java 8 Compatibility

If Java 8 is not enabled, add support to your build.gradle:

android {
    ...
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    aaptOptions {
        noCompress "tflite"
    }
}

Adding SDK Dependency

Include the FaceLiveness SDK in your build.gradle dependencies:

dependencies {
   implementation("com.combateafraude.sdk:document-detector:$version")
}

Last updated

Logo

2023 © Caf. - All rights reserved