Fix lint report path

The DirectoryProperty was being interpolated directly to a string, which
would not result in a correct path.
This commit is contained in:
José Rebelo
2025-05-11 14:07:30 +01:00
parent e8f90b69f4
commit 02acbb87a0
+1 -1
View File
@@ -194,7 +194,7 @@ android {
// If true, generate an HTML report (with issue explanations, sourcecode, etc)
htmlReport = true
// Optional path to report (default will be lint-results.html in the builddir)
htmlOutput = file("${project.layout.buildDirectory}/reports/lint/lint.html")
htmlOutput = layout.buildDirectory.file("reports/lint/lint.html").get().asFile
// Ignore checks present in the snapshot
baseline = file("lint-baseline.xml")
}