Package dev.wogu.gradle


package dev.wogu.gradle
Gradle integration for WoGu.

WoguPlugin registers the woguValidate task, wires it to the main source set once the java plugin is applied, and attaches it to the build lifecycle task. WoguValidateTask runs the same discover-run-report sequence as the Maven plugin, directly against wogu-core and wogu-report.

  • Classes
    Class
    Description
    Project-level configuration for WoGu, applied via the wogu {} block:
    Registers the woguValidate task and, once the java plugin is present, wires it to the project's main source set and to the build lifecycle task.
    Gradle task backing the woguValidate task: runs every discoverable WoGu rule against the project's main source set and writes an HTML report, failing the build on a build-blocking violation.