Kai Burjack edited this page Aug 18, 2018 · 38 revisions

This is the home page of JOML's Wiki.

Here you will find links to other pages explaining more aspects about JOML, including the design principles and how to use it in your application.

Maven Setup for Desktop

JOML is deployed to Maven Central. In order to use JOML with Maven, add the following as child to the <dependencies> element in your pom.xml:

<dependency>
  <groupId>org.joml</groupId>
  <artifactId>joml</artifactId>
  <version>1.9.11</version>
</dependency>

You can also use the latest snapshot release, which is deployed on oss.sonatype.org. For this, you have to add a repository declaration:

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

Now, you can use a SNAPSHOT version, such as 1.9.12-SNAPSHOT in the version tag of your JOML dependency.

Gradle Setup for Desktop

In order to use JOML (either release or snapshot version) with your Gradle build, please add the following to your buildscript:

repositories {
  mavenCentral()
  maven {
    url "https://oss.sonatype.org/content/repositories/snapshots/"
  }
}
project.ext.jomlVersion = "1.9.11"
dependencies {
  compile "org.joml:joml:${jomlVersion}"
}

Gradle Setup for Android

In order to use JOML with your Gradle build for Android, please add the following to your buildscript:

repositories {
  maven {
    url "https://oss.sonatype.org/content/repositories/snapshots/"
  }
}
project.ext.jomlVersion = "1.9.3-SNAPSHOT"
dependencies {
  compile "org.joml:joml-android:${jomlVersion}"
}

Gradle Setup for GWT

In order to use JOML in your Google Web Toolkit (GWT) Gradle build, please add the following to your buildscript:

repositories {
  mavenCentral()
}
project.ext.jomlVersion = "1.9.11"
dependencies {
  compile "org.joml:joml-gwt:${jomlVersion}"
}

and add the following to your application module XML file:

  <!-- Add JOML -->
  <inherits name="org.joml.JOML"/>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.