Slackbot
04/24/2023, 1:26 AMAdam
04/24/2023, 8:19 AMextendFrom() to extend from the parent.Vampire
04/24/2023, 10:17 AMextendsFrom.
So what is the problem you have with that setup?Shaun Reich
04/24/2023, 4:29 PMZak Taccardi
04/24/2023, 10:41 PMyou are trying to do what the jacoco aggregator plugin already does@Shaun Reich I’m duplicating the behavior a bit, but doing it in a custom way to support android and java simultaneously
As all three artifacts are published in the same consumable configuration, you should be able to simply do it without the need to have separate configurations orYou’re right - I’ve actually modified my approach since then to publish the artifacts in 3 separate configurations however, so I guess my question still applies..extendsFrom
val coverageExecFile: NamedDomainObjectProvider<Configuration> = ..
val _executionData = coverageExecFile
.get() // TODO find a way to avoid this `get()`
.incoming
.artifacts
.artifactFiles
.asFileTree
.filter(File::isCodeCoverageExecutionFile)
I didn’t know how to filter a configuration before, now I do. But I think it’s good to publish in 3 separate configurations?Vampire
04/24/2023, 11:04 PMZak Taccardi
04/24/2023, 11:26 PM