Class WoguPlugin

java.lang.Object
dev.wogu.gradle.WoguPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public final class WoguPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
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.

Applying this plugin is sufficient for gradle build to run WoGu automatically:


 plugins {
   id("dev.wogu") version "1.0.0"
 }
 
  • Constructor Details

    • WoguPlugin

      public WoguPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>