...
You will need to add our repository to the plugin repositories, as of time of writing, Cordova doesn’t support editing settings.gradle
, so you need to declare it in an init.gradle
file in $GRADLE_HOME
or passing the init file via cli cordova build android -- --gradleArg="--init-script init.gradle"
:
Code Block | ||
---|---|---|
| ||
settingsEvaluated { settings -> settings.pluginManagement { repositories { mavenCentral() gradlePluginPortal() google() maven { credentials { //Leave the username as "MAVEN" username "MAVEN" password "INSERT_YOUR_KEY" } url "https://mobile-protect-repos.securetheorem.com/mobileprotect-android" } } } } |
...