From 1fde5d718e92d42870b7738e6c1ff2cc0d9f3740 Mon Sep 17 00:00:00 2001 From: Yi Hsuen Date: Fri, 17 Jun 2022 23:10:35 +0800 Subject: [PATCH] Upgrade to Gradle 7.4.2 The latest Gradle version available is 7.4.2. At the same time, the reports.*.enabled property in the coverage task has been deprecated while the latest compatible shadow version is 7.1.2. Let's upgrade to Gradle 7.4.2, replace the reports.*.enabled property with the reports.*.required property and update the shadow version. --- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index c4fa926c4f8..46bdf94cb38 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'checkstyle' - id 'com.github.johnrengelman.shadow' version '6.1.0' + id 'com.github.johnrengelman.shadow' version '7.1.2' id 'application' id 'jacoco' } @@ -35,8 +35,8 @@ task coverage(type: JacocoReport) { }) } reports { - html.enabled = true - xml.enabled = true + html.required = true + xml.required = true } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ec991f9aa12..aa991fceae6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists