From 8d4b1642704ce4501b855a4cef8dfa3c17da1c21 Mon Sep 17 00:00:00 2001 From: dgelessus <dgelessus@users.noreply.github.com> Date: Wed, 24 Jul 2024 12:36:54 +0200 Subject: [PATCH] Fix a few Gradle deprecation warnings --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index ee9f980..26121d5 100644 --- a/build.gradle +++ b/build.gradle @@ -41,8 +41,8 @@ dependencies { } java { - project.sourceCompatibility = JavaVersion.VERSION_1_8 - project.targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 withSourcesJar() withJavadocJar() @@ -58,7 +58,7 @@ jacocoTestReport { reports { xml.required = false csv.required = false - html.destination file("${buildDir}/jacocoHtml") + html.outputLocation = layout.buildDirectory.dir('jacocoHtml') } } -- GitLab