Nicholas Bilyk
01/06/2020, 3:04 PMallprojects {
this.tasks.withType<TestReport> {
this.destinationDir = rootProject.buildDir.resolve("<mailto:reports/${this@allprojects.name|reports/${this@allprojects.name>}/")
}
this.tasks.withType<Test> {
this.reports.junitXml.destination = rootProject.buildDir.resolve("<mailto:reports/${this@allprojects.name|reports/${this@allprojects.name>}/xml/")
this.reports.html.destination = rootProject.buildDir.resolve("<mailto:reports/${this@allprojects.name|reports/${this@allprojects.name>}/html/")
}
}
But that doesn't seem to work. What's strange is that if I run clean / test repeatedly sometimes they end up where I'm declaring, but it's unreliable. It's as if I'm declaring this in the wrong spot.Nicholas Bilyk
01/06/2020, 5:09 PM