Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.adoc

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

About

SBuild plugin providing typical targets for Java Projects.

Resources

License

Releases

No releases published
You can’t perform that action at this time.