Zscaler Development Kit (Zscaler SDK), part of the Zscaler Zero Trust Exchange™ platform, combines a set of robust capabilities to protect the integrity of your intellectual property, secure network communications from your mobile application, and prevent breaches against your APIs and core backend services.
- Make sure gpr.user and gpr.key are set to your github username and access token in local.properties.
- Add the Github repository to the dependencyResolutionManagement repositories in settings.gradle.
dependencyResolutionManagement {
repositories {
maven {
name = "ZscalerSDKAndroid"
url = uri("https://maven.pkg.github.com/zscaler/zscaler-sdk-android")
credentials {
username = settings.extra.get("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME")
password = settings.extra.get("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
}
- Install Zscaler SDK in the dependencies section of build.gradle.
dependencies {
implementation("com.zscaler.sdk:zscalersdk-android:latest.release")
}