Class RequirementsToolPlugin

java.lang.Object
io.github.reqstool.gradle.RequirementsToolPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class RequirementsToolPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin for assembling and attaching reqstool ZIP artifacts. Mimics the behavior of the reqstool-maven-plugin.
  • Constructor Details

    • RequirementsToolPlugin

      public RequirementsToolPlugin()
      Default constructor for RequirementsToolPlugin.
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Applies the plugin to a Gradle project. Registers the assembleRequirements task and automatically configures Maven publishing if the maven-publish plugin is applied.
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
      Parameters:
      project - the Gradle project