Hi, I have a gradle Plugin that imlements a `Repor...
# community-support
k
Hi, I have a gradle Plugin that imlements a
ReportContainer
(This one to be precise: https://github.com/TNG/JGiven/blob/4de096ae84bb6e4da06418e70a3bf3ccc01d76fb/jgiven[…]/tngtech/jgiven/gradle/internal/JGivenReportsContainerImpl.java) Unfortunately it doesn't actually implement anything but rather relies on gradle's internal
TaskReportContainer
to function. Or rather, relied, as that class got deleted with gradle 8.11. Now, I tried to implement the report container interface directly, but it appears to me that to do that I actually have to implement over 20 methods, including some from java.util.Collection. That just seems wrong. My question is thusly: Are there any implementations that would facilitate using this interface? My Reports usually come as a collection of files (bunch of text files, bunch of asciidoc files and one js/html app)
c
v
Iirc the Spotbugs plugin does it somehow simpler, maybe you can lend something from there
c
Looks like it just doesn’t use the ReportsContainer and implements the reporting custom.
v
Oh hm, that's probably bad then
k
Thanks for your input. Your report container already helped me a great deal. Unfortunatly I'm still not quite there yet, because of some weird configuration shenaniganse that I don't quite understand. But tomorrow's another day :)
👌 1
🙂 1
I found the trick: follow your example more closely 😄 got it solved now. Thanks.
👌 2