Skip to content

Commit 22497f9

Browse files
committed
[SPARK-53407] Use baseDirectory instead of baseDir
### What changes were proposed in this pull request? This PR aims to use `reporting.baseDirectory` instead of `reporting.baseDir`. ### Why are the changes needed? `reporting.baseDir` was deprecated at Gradle 8 and removed at Gradle 9. - https://docs.gradle.org/current/userguide/upgrading_version_8.html#reporting-base-dir > ReportingExtension.getBaseDir(), `ReportingExtension.setBaseDir(File), and ReportingExtension.setBaseDir(Object) were deprecated. They should be replaced with ReportingExtension.getBaseDirectory() property. - https://docs.gradle.org/current/dsl/org.gradle.api.reporting.ReportingExtension.html ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #300 from dongjoon-hyun/SPARK-53407. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 2ef2bf5 commit 22497f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ subprojects {
8484
spotbugs {
8585
toolVersion = libs.versions.spotbugs.tool.get()
8686
afterEvaluate {
87-
reportsDir = file("${project.reporting.baseDir}/findbugs")
87+
reportsDir = file("${project.reporting.baseDirectory}/findbugs")
8888
}
8989
excludeFilter = file("$rootDir/config/spotbugs/spotbugs_exclude.xml")
9090
ignoreFailures = false

0 commit comments

Comments
 (0)