Class ArchitectureValidatorPlugin

java.lang.Object
com.arc_e_tect.gradle.architecture.ArchitectureValidatorPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class ArchitectureValidatorPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin that registers the testArchitecture JVM test suite, the generateArchitectureTests and updateArchitectureValidatorDSL tasks, and wires the architectureValidator DSL extension into the project.
  • Field Details

    • TEST_ARCHITECTURE_TASK_NAME

      public static final String TEST_ARCHITECTURE_TASK_NAME
      Name of the JVM test suite registered by this plugin.
      See Also:
    • GENERATE_ARCHITECTURE_TESTS_TASK_NAME

      public static final String GENERATE_ARCHITECTURE_TESTS_TASK_NAME
      Name of the test-generating Gradle task registered by this plugin.
      See Also:
    • UPDATE_DSL_TASK_NAME

      public static final String UPDATE_DSL_TASK_NAME
      Name of the DSL-updating task registered by this plugin.
      See Also:
  • Constructor Details

    • ArchitectureValidatorPlugin

      public ArchitectureValidatorPlugin()
      Creates a new plugin instance. Instantiated by Gradle infrastructure.
  • Method Details

    • apply

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