Skip to content

Commit

Permalink
Upgrade to Gradle 7.4.2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yhtMinceraft1010X authored and damithc committed Jun 20, 2022
1 parent 45a4e35 commit 1fde5d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand Down Expand Up @@ -35,8 +35,8 @@ task coverage(type: JacocoReport) {
})
}
reports {
html.enabled = true
xml.enabled = true
html.required = true
xml.required = true
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1fde5d7

Please sign in to comment.