prevent gradle plugins from using jCenter()

This commit is contained in:
Jörg Prante 2022-11-21 09:16:06 +01:00
parent 8bfc3a4cc3
commit aa1e7b180d

View file

@ -1,3 +1,17 @@
pluginManagement {
repositories {
mavenLocal()
mavenCentral {
metadataSources {
mavenPom()
artifact()
ignoreGradleMetadataRedirection()
}
}
gradlePluginPortal()
}
}
dependencyResolutionManagement {
versionCatalogs {
libs {
@ -14,10 +28,10 @@ dependencyResolutionManagement {
library('affinity', 'net.openhft', 'affinity').version('3.21ea0')
library('javassist', 'org.javassist', 'javassist').version('3.29.1-GA')
library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').versionRef('jackson')
library('gson', 'com.google.code.gson', 'gson').version('2.8.9')
library('orgjson', 'org.json', 'json').version('20210307')
library('jackson-annotations', 'com.fasterxml.jackson.core', 'jackson-annotations').versionRef('jackson')
library('jackson-databind', 'com.fasterxml.jackson.core', 'jackson-databind').versionRef('jackson')
library('gson', 'com.google.code.gson', 'gson').version('2.8.9')
library('orgjson', 'org.json', 'json').version('20210307')
library('mockito-core', 'org.mockito', 'mockito-core').version('3.12.4')
library('google-truth', 'com.google.truth', 'truth').version('0.32')
library('burst-junit4', 'com.squareup.burst', 'burst-junit4').version('1.1.1')