This SBuild plugin provides a customizable Clean target
Table of Contents
SBuild Clean Project Plugin can be downloaded from Maven Central.
You need a recent version of SBuild.
git clone https://github.com/SBuild-org/sbuild-clean.git cd sbuild-sbuild-plugin/org.sbuild.plugins.clean sbuild jar
You will find the built jar in the directory org.sbuild.plugins.clean/target
.
All configurable properties are documented via ScalaDoc. See file Clean.scala.
In it’s default configuration, this plugin provides a clean
target, will delete the target
directory and also evicts the SBuild target cache for this project.
A names configuration will provide a clean-${name}
target and will delete the ${name}
directory without evicting the target cache.