



allprojects {
repositories {
google()
jcenter()
// Add the Maven repository.
maven {url 'https://developer.huawei.com/repo/'}
}
}
buildscript {
repositories {
google()
jcenter()
// Add the Maven repository.
maven {url 'https://developer.huawei.com/repo/'}
}
}
The Maven repository address cannot be accessed from a browser. It can only be configured in the IDE. If there are multiple Maven repositories, add the Maven repository address of Huawei as the last one.
dependencies {
implementation 'com.huawei.security:securitykit:{version}'
}
Replace {version} with the actual SDK version number (see Version Change History for details), for example:
implementation 'com.huawei.security:securitykit:1.1.1'