Skip to content

SBuild-org/sbuild-javaproject-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published