mavenLocal should always be first repository

Using mavenCentral above mavenLocal means any library screenshots you may have installed locally are overridden. Having mavenLocal first ensures you trust the local cache above all else.
This commit is contained in:
Jordan Gigov 2018-08-16 10:09:04 +03:00 committed by GitHub
parent 14b876c950
commit eb003de3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ plugins {
allprojects {
repositories {
mavenCentral()
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/releases" }
maven { url "http://repo.mikeprimm.com" }
maven { url "http://repo.maven.apache.org/maven2" }
@ -48,4 +48,4 @@ clean {
}
task setupCIWorkspace {
}
}