You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
Right now the plugin stores the violations in an in-memory NamedDomainObjectContainer holding an instance of Violations for each of the tool configured. Ideally each tool would instead produce an (xml?) report that can be used as input of the EvaluateViolationsTask. This would also help with the incremental builds, as an input/output file plays nicer with Gradle architecture.
The text was updated successfully, but these errors were encountered:
You can define custom Objects to be input/output too. With Property and Providers. (Are they Gradle 4+?) I think they also need to be Serializable then. The incremental build mechanism works like the same. Writing to a file may not be necessary.
@tasomaniac good point, but then 2 things come to mind:
I don't see why we should loose retro-compatibility, even though Gradle 4.x is widely adopted already
I feel like having the output as persisted report can open possibilities we haven't fully figured out yet, even though we can always write the objects as files if we need to
That may makes sense for other purposes of course. Since all the tools integrated already has output files, it could also be an overhead to have even more files. ☺
Right now the plugin stores the violations in an in-memory
NamedDomainObjectContainer
holding an instance ofViolations
for each of the tool configured. Ideally each tool would instead produce an (xml?) report that can be used as input of theEvaluateViolationsTask
. This would also help with the incremental builds, as an input/output file plays nicer with Gradle architecture.The text was updated successfully, but these errors were encountered: