Skip to content

Commit

Permalink
Use an improved version of the Gradle plugin used to check licenses (h…
Browse files Browse the repository at this point in the history
…yperledger#3095)

Temporary use a build of this plugin that contains the proposed PR[1],
that improve the downloadLicenses task, reducing its execution time from
about 10 minutes to under 1 minute.
The build is temporary hosted in a custom repository, until a new upstream
version with the patch is released.

[1]hierynomus/license-gradle-plugin#203

Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 authored Nov 23, 2021
1 parent 9117f5f commit 5221bd5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5221bd5

Please sign in to comment.