Usage
To use the reqstool Gradle Plugin, add the following configuration to your Gradle project’s build.gradle:
Basic Usage
plugins {
id 'io.github.reqstool.gradle-plugin' version '0.1.0'
}
The plugin will automatically integrate with the standard Gradle build lifecycle.
With Maven Publishing
When the maven-publish plugin is applied, the reqstool ZIP is automatically registered for publication:
plugins {
id 'io.github.reqstool.gradle-plugin' version '0.1.0'
id 'maven-publish'
}
publishing {
repositories {
maven {
url = "https://your-repo.example.com/maven"
}
}
}
The ZIP artifact will be published with classifier reqstool (e.g., my-app-1.0.0-reqstool.zip).
Default Lifecycle
The plugin automatically integrates into the standard Gradle build:
-
Plugin is applied
-
assembleRequirementstask is created and configured -
Task runs after
check(when all tests complete) -
ZIP artifact is created in
build/reqstool/ -
If
maven-publishplugin is applied, artifact is registered for publication