SBuild Java Project Plugin
This SBuild plugin provides typical targets for Java projects.
Download
SBuild Java Project Plugin can be downloaded from Maven Central.
Building from Source
You need a recent version of SBuild.
git clone https://github.com/SBuild-org/sbuild-javaproject-plugin.git cd sbuild-sbuild-plugin/org.sbuild.plugins.javaproject sbuild jar
You will find the built jar in the directory org.sbuild.plugins.javaproject/target
.
Requirements
This plugin requires at least SBuild 0.7.1.9000.
Configuration
All configurable properties are documented via ScalaDoc. See file JavaProject.scala.
Targets
In it’s default configuration, this plugin will provide the following targets:
-
clean
-
clean-compile
-
compile
-
jar
-
${jarFile}
Examples
Minimal
Minimal example, using the Java Compiler with it’s default settings.
import de.tototec.sbuild._
class SBuild(implicit _project: Project) {
import org.sbuild.plugins.javaproject._
Plugin[JavaProject]
}
bash $ sbuild -l
Changelog
SBuild Java Project Plugin 0.1.0 - not released yet
-
Initial release