Gradle repository maintenance (#4273)

Cleanup repository references and limit scope of non-mavenCentral
repositories.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
pull/4277/head
Danno Ferrin 2 years ago committed by GitHub
parent 113bd54c6b
commit 60b806cc5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      build.gradle
  2. 10
      settings.gradle

@ -103,14 +103,26 @@ allprojects {
targetCompatibility = 11
repositories {
maven {
url 'https://hyperledger.jfrog.io/hyperledger/besu-maven'
content { includeGroupByRegex('org\\.hyperledger\\..*') }
}
maven {
url 'https://artifacts.consensys.net/public/maven/maven/'
content { includeGroupByRegex('tech\\.pegasys\\..*') }
}
maven {
url 'https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/'
content { includeGroupByRegex('net\\.consensys\\..*') }
}
maven {
url 'https://splunk.jfrog.io/splunk/ext-releases-local'
content { includeGroupByRegex('com\\.splunk\\..*') }
}
mavenCentral()
maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
}
dependencies { errorprone "com.google.errorprone:error_prone_core" }
dependencies { errorprone 'com.google.errorprone:error_prone_core' }
apply plugin: 'com.diffplug.spotless'
spotless {

@ -16,13 +16,19 @@
pluginManagement {
repositories {
gradlePluginPortal()
/*
* Temporary repository to host the improved version of the
* com.github.hierynomus.license plugin. Can be removed when an
* official version with the fix is release upstream
*/
maven { url = uri("https://raw.githubusercontent.com/ConsenSys/license-gradle-plugin-fix-artifacts/main/") }
maven {
url = uri('https://raw.githubusercontent.com/ConsenSys/license-gradle-plugin-fix-artifacts/main/')
content {
includeGroup('com.github.hierynomus.license')
includeGroup('com.hierynomus.gradle.plugins')
}
}
gradlePluginPortal()
}
}

Loading…
Cancel
Save