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 06855f2563
commit 57cf3e36a3

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 {
}
}