...
Code Block | ||
---|---|---|
| ||
allprojects { repositories { mavenCentral() google() // Mobile Protect Maven Repository maven { credentials { // Leave the username as "MAVEN" username "MAVEN" password "INSERT_YOUR_KEY" } url "https://mobile-protect-repos.securetheorem.com/mobileprotect-android" } } } |
If you use Cordova Cordova’s default repositories.gradle
setup, you will need to add our repository to all repositories.gradle
files. There are usually three of these:
platforms/android/repositories.gradle
platforms/android/app/repositories.gradle
platforms/android/cordovaLib/repositories.gradle
Code Block |
---|
ext.repos = { google() mavenCentral() maven { credentials { //Leave the username as "MAVEN" username "MAVEN" password "INSERT_YOUR_KEY" } url "https://mobile-protect-repos.securetheorem.com/mobileprotect-android" } } |
...