mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
9463d2e668
- Put jitpack.io at the bottom, so that it is the last one checked. For libraries that are both in jitpack and elsewhere, this should prevent a lot of errors especially in CI due to jitpack unreliability. - Don't use gradle plugin portal as a mirror for JCenter. JCenter is still up as read-only, and using the gradle plugin portal hides the fact that we have stop using jcenter libraries. - For buildscripts, use gradlePluginPortal() instead of manual maven config - Don't have repository configuration in both app/build.gradle and project build.gradle. Use project gradle instead Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
44 lines
1 KiB
Groovy
44 lines
1 KiB
Groovy
buildscript {
|
|
ext {
|
|
jacoco_version = '0.8.8'
|
|
kotlin_version = '1.6.21'
|
|
androidxTestVersion = "1.4.0"
|
|
daggerVersion = "2.41"
|
|
markwonVersion = "4.6.2"
|
|
prismVersion = "2.0.0"
|
|
androidLibraryVersion = "master-SNAPSHOT"
|
|
mockitoVersion = "4.5.1"
|
|
mockitoKotlinVersion = "4.0.0"
|
|
mockkVersion = "1.12.3"
|
|
powermockVersion = "2.0.9"
|
|
byteBuddyVersion = "1.12.9"
|
|
espressoVersion = "3.4.0"
|
|
workRuntime = "2.7.1"
|
|
fidoVersion = "4.1.0"
|
|
checkerVersion = "3.21.2"
|
|
exoplayerVersion = "2.17.1"
|
|
documentScannerVersion = "1.0.1"
|
|
|
|
ciBuild = System.getenv("CI") == "true"
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
buildscript {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
jcenter()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|