Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Update Gradle version to 7.6
Browse files Browse the repository at this point in the history
Also fix 2 deprecation warnings:

Update reports according to api,
replacing enabled with required

Adding explicit task dependency
when using generated sources as input.

Third deprecation warning is due to usage
inside the io.spring.dependency-management plugin
and cannot be fixed until plugin is updated.
  • Loading branch information
Jocce-Nilsson committed Dec 12, 2022
1 parent 1c4ea63 commit efe077b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ subprojects {

jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
xml.required = true
html.required = true
}
}
test {
Expand Down
5 changes: 5 additions & 0 deletions core-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ tasks.named("compileJava").configure {
source(generateAvro)
}

tasks.named("checkstyleMain").configure {
dependsOn(generateAvro)
dependsOn(tasks.named('compileTestJava')) //Probably incorrect dependency but Gradle did not recognise the above one
}

sourceSets {
main {
java {
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.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit efe077b

Please sign in to comment.