summarylogtreecommitdiffstats
path: root/0003-Fix-build-with-Gradle-9.patch
blob: 2ee7371a70a2d71a546f375112ce26c036377c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 2f8bcc1559d1e861b37242a20c9169501d3dda13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20La=C3=9F?= <bevan@bi-co.net>
Date: Thu, 9 Oct 2025 20:02:44 +0200
Subject: [PATCH 3/4] Fix build with Gradle 9

---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 4fb779043a..70d35b7c64 100644
--- a/build.gradle
+++ b/build.gradle
@@ -543,7 +543,7 @@ testlogger {
 }
 
 tasks.withType(Test).configureEach {
-    reports.html.outputLocation.set(file("${reporting.baseDir}/${name}"))
+    reports.html.outputLocation.set(file("${reporting.getBaseDirectory()}/${name}"))
     // Enable parallel tests (on desktop).
     // See https://docs.gradle.org/8.1/userguide/performance.html#execute_tests_in_parallel for details.
     if (!providers.environmentVariable("CI").isPresent()) {
-- 
2.51.0