I have a build.gradle with a buildscript
buildscript {
repositories { jcenter() }
dependencies {
classpath 'myPlugin-1:4.0.0'
}
}
is there a way to modify the repositories list with a local plugin (similar to the EnterpriseRepositoryPlugin example), or add additional URLs, via init.gradle?
For example, to add
repositories {
maven {
name "Local mirror"
url "https://artifactory.myrepo.com/m2"
}
}
I’m pulling it in the source via a yocto bitbake recipe, and I can add an init.gradle, but I’d like to avoid patching the build.gradle if possible.