Change default location of generated reports by running r8lib tests
Bug: b/270105162
Change-Id: I9fc6b68b5d9eecaa0768942658eef0c8e8f849f5
diff --git a/d8_r8/test/build.gradle.kts b/d8_r8/test/build.gradle.kts
index 82eae1f..a0119aa 100644
--- a/d8_r8/test/build.gradle.kts
+++ b/d8_r8/test/build.gradle.kts
@@ -307,6 +307,9 @@
systemProperty("RETRACE_RUNTIME_PATH", r8LibJar)
systemProperty("R8_DEPS", mainDepsJarTask.outputs.files.singleFile)
systemProperty("com.android.tools.r8.artprofilerewritingcompletenesscheck", "true")
+
+ reports.junitXml.outputLocation.set(getRoot().resolveAll("build", "test-results", "test"))
+ reports.html.outputLocation.set(getRoot().resolveAll("build", "reports", "tests", "test"))
}
val sourcesJar by registering(Jar::class) {