Skip to content

Commit

Permalink
Update Gradle version and support for Java 17
Browse files Browse the repository at this point in the history
Updated the gradle version from 8.4 to 8.5 in gradle-wrapper.properties. Also, added explicit support for Java 17 in build.gradle file, which renders the application compatible with the latest Java version. Additionally, removed 'jacoco' - reliance on this plugin can be eliminated for our use case at present.
  • Loading branch information
kousen committed Nov 30, 2023
1 parent 12e46ae commit b756cd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
plugins {
id 'java'
id 'eclipse'
id 'jacoco'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

repositories {
Expand All @@ -18,5 +23,3 @@ dependencies {
tasks.named("test", Test) {
useJUnitPlatform()
}

jacocoTestReport.dependsOn('test')
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-8.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit b756cd7

Please sign in to comment.