diff --git a/build.gradle b/build.gradle index 06bb7110c1..323dff9170 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ import java.text.SimpleDateFormat plugins { id 'com.diffplug.spotless' version '5.14.2' id 'com.github.ben-manes.versions' version '0.39.0' - id 'com.github.hierynomus.license' version '0.16.1' + id 'com.github.hierynomus.license' version '0.16.1-fix' id 'com.jfrog.artifactory' version '4.24.14' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'me.champeau.jmh' version '0.6.6' apply false diff --git a/settings.gradle b/settings.gradle index 2536f8ef6c..687af63628 100644 --- a/settings.gradle +++ b/settings.gradle @@ -13,6 +13,21 @@ * SPDX-License-Identifier: Apache-2.0 */ + +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/") + } + } +} + rootProject.name='besu' include 'acceptance-tests:test-plugins' include 'acceptance-tests:dsl'