Skip to content

Download and Install

Clayton Long edited this page May 4, 2018 · 17 revisions

Download RuleBook

git clone -b develop https://github.com/rulebook-rules/rulebook.git

Build RuleBook

RuleBook requires both the Java 1.8 JDK (or higher) and Gradle 2.4 (or higher) for building the source code.

cd rulebook
gradle build

Using RuleBook With Maven

To use the a RuleBook release, just add the release version to your pom.xml.

<dependency>
  <groupId>com.deliveredtechnologies</groupId>
  <artifactId>rulebook-core</artifactId>
  <version>0.10</version>
</dependency>

To use a RuleBook SNAPSHOT (Development) release, add the Sonatype SNAPSHOT repository to your pom.xml.

<repositories>
  <repository>
    <id>sonatype</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  </repository>
</repositories>

Then add the SNAPSHOT dependency to your pom.xml.

<dependency>
  <groupId>com.deliveredtechnologies</groupId>
  <artifactId>rulebook-core</artifactId>
  <version>0.10-SNAPSHOT</version>
</dependency>

Using RuleBook With Gradle

To use the RuleBook release, just add the release version to build.gradle.

compile: 'com.deliveredtechnologies:rulebook-core:0.10'

To use a RuleBook SNAPSHOT (Development) release, add the Sonatype SNAPSHOT repository to build.gradle.

repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}

Then add the SNAPSHOT dependency to your build.gradle.

compile: 'com.deliveredtechnologies:rulebook-core:0.10-SNAPSHOT'
Clone this wiki locally