From 7011101b0510eaefe44155c52cef53798ed981a8 Mon Sep 17 00:00:00 2001 From: Speiger Date: Thu, 15 Jun 2023 18:19:12 +0200 Subject: [PATCH] Upgraded Gradle to be java19/20 friendly --- build.gradle | 10 +++++----- gradle/wrapper/gradle-wrapper.properties | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 475ae755..6de12ed6 100644 --- a/build.gradle +++ b/build.gradle @@ -101,12 +101,12 @@ task generateLimitSource(type: JavaExec) { task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier = 'javadoc' } task srcJar(type: Jar) { from sourceSets.main.allSource - classifier = 'sources' + archiveClassifier = 'sources' } compileJava.dependsOn generateGithubSource @@ -262,9 +262,9 @@ test { jacocoTestReport { executionData fileTree(project.buildDir.absolutePath).include("jacoco/*.exec") reports { - xml.enabled true - html.enabled = true - csv.enabled true + xml.required = true + html.required = true + csv.required = true } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e750102e..47491b5f 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-7.3-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists