Slackbot
12/18/2023, 3:19 PMJohn
12/18/2023, 3:20 PM> Property 'outputLocation' is declared as an output property of Report junitXml (type DefaultJUnitXmlReport) but does not have a task associated with it.
in gradle 7.6.3 as well as 8.4John
12/18/2023, 3:33 PMgetJunitXml should be annotated with @Nested?Vampire
12/18/2023, 3:34 PMval regularFileProperty = jacocoReportTask.map { it.reports.xml.outputLocation }.get()
to
val regularFileProperty = jacocoReportTask.map { it.reports.xml.outputLocation.get() }
it should workJohn
12/18/2023, 3:34 PMVampire
12/18/2023, 3:35 PMget().
But if you do the get() in the map(), then the provider used on inDir is the original task provider one which has the proper task dependency.