This is an automated email from the ASF dual-hosted git repository.

mimaison pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 81938eb0864 MINOR: Replace deprecated Project.buildDir property 
(#18501)
81938eb0864 is described below

commit 81938eb0864436bce63aadfd0fb3fdfe0bc71779
Author: TengYao Chi <kiting...@gmail.com>
AuthorDate: Tue Jan 14 23:54:58 2025 +0800

    MINOR: Replace deprecated Project.buildDir property (#18501)
    
    
    Reviewers: Mickael Maison <mickael.mai...@gmail.com>
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index c3f3d2df6cf..8e6bacd4c14 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1162,7 +1162,7 @@ project(':core') {
       if (versions.baseScala == '2.13') {
         scoverageScalaVersion = '2.13.9' // there's no newer 2.13 artifact, 
org.scoverage:scalac-scoverage-plugin_2.13.9:2.0.11 is the latest as of now
       }
-      reportDir = file("${rootProject.buildDir}/scoverage")
+      reportDir = file("${layout.buildDirectory.get().asFile.path}/scoverage")
       highlighting = false
       minimumRate = 0.0
     }

Reply via email to