saker.build Documentation TaskDoc JavaDoc

Installation

Saker.build has a single and only dependency on the Java Runtime Environment (JRE). In order to use it you first need to install it for your operating system of choice.

  1. Install an appropriate Java Development Kit (version 8+)
  2. Download the saker.build distribution
  3. Run java -jar saker.build.jar

You can also use command line tools to download a release with a specific version:

cURL:

curl https://api.nest.saker.build/bundle/download/saker.build-v0.8.9 -o saker.build.jar

PowerShell:

Invoke-WebRequest "https://api.nest.saker.build/bundle/download/saker.build-v0.8.9" -OutFile saker.build.jar

You can also use the following commands to download the latest version:

cURL:

curl https://api.nest.saker.build/bundle/download/saker.build-v$(curl -s https://mirror.nest.saker.build/badges/saker.build/latest.txt) -o saker.build.jar

PowerShell:

Invoke-WebRequest "https://api.nest.saker.build/bundle/download/saker.build-v$((Invoke-WebRequest "https://mirror.nest.saker.build/badges/saker.build/latest.txt" -UseBasicParsing).Content)" -OutFile saker.build.jar

The saker.build system can also be added to the supported IDEs as plugins.

Java

Saker.build requires the minimum JRE version of 8. You can download it from AdoptOpenJDK.net or from the Oracle Website. You can also use other installation mechanisms depending on your environment, but in the end, make sure to have a properly configured JVM installed on your machine.

When you're given the choice whether you want to install the JRE or JDK (Java Development Kit), we recommend choosing JDK, as that enables compiling Java sources and contains other development tools.

Saker.build

The build system is distributed as a single self-contained Java Archive. You can download the latest release JAR file using this link.

You can also download older releases by visiting the release archive.

IDEs

Saker.build support is available for the following Integrated Development Environment(s).

Eclipse

The steps to install the saker.build plugin for Eclipse are the following:

  1. Open Eclipse and select the Help > Install New Software... menu.
  2. Enter the https://saker.build/saker.build.ide.eclipse/update-site/v0.8.9 link for the update site. ("Work with:" textbox)
  3. Select the plugins and install them.
    • If you don't see the plugins, uncheck 'Group items by category'. (Eclipse bugs may cause categories to not show up.)
  4. See the Eclipse plugin introduction for getting started.