build: Put jitpack and jcenter at the end of the repos list

That means faster, more stable repos are used first if available

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-05-18 12:04:09 +02:00
parent 968e8d2bab
commit d69d034715
No known key found for this signature in database
GPG Key ID: 2585783189A62105

View File

@ -29,10 +29,10 @@ buildscript {
repositories { repositories {
google() google()
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://plugins.gradle.org/m2/' } maven { url 'https://plugins.gradle.org/m2/' }
mavenCentral() mavenCentral()
maven { url 'https://jitpack.io' }
jcenter()
} }
dependencies { dependencies {
@ -55,11 +55,11 @@ configurations.all {
allprojects { allprojects {
repositories { repositories {
google() google()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://jitpack.io' }
maven { url 'https://maven.google.com' } maven { url 'https://maven.google.com' }
mavenCentral() mavenCentral()
maven { url 'https://jitpack.io' }
jcenter()
} }
} }