2.1.1.1.1 Setup
Setup basic requirement
Step 1: Add VerifySpeed_Android_SDK
dependency
Add the latest version of the VerifySpeed_Android_SDK
dependency to your build configuration file:
- Gradle KTS
- Gradle
build.gradle.kts
dependencies {
implementation("com.github.verifyspeed:VerifySpeed_Android_SDK:1.0.30")
}
build.gradle
dependencies {
implementation 'com.github.verifyspeed:VerifySpeed_Android_SDK:1.0.28'
}
Step 2: Configure JitPack repository
Open your settings configuration file and add the JitPack repository in the dependencyResolutionManagement
section:
- Gradle KTS
- Gradle
settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
settings.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Step 3: Set minimum SDK version
Set your minimum SDK version to 24 in your build configuration file:
- Gradle KTS
- Gradle
build.gradle.kts
android {
defaultConfig {
minSdk = 24
// ... other config settings ...
}
}
build.gradle
android {
defaultConfig {
minSdk 24
// ... other config settings ...
}
}