Skip to content

Commit

Permalink
Gradle repository maintenance (hyperledger#4273)
Browse files Browse the repository at this point in the history
Cleanup repository references and limit scope of non-mavenCentral
repositories.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
  • Loading branch information
shemnon authored and jflo committed Aug 18, 2022
1 parent e2c0168 commit 58290f7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
22 changes: 17 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 8 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 58290f7

Please sign in to comment.