Skip to content
Kai Burjack edited this page Jul 28, 2024 · 78 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.10.8</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.10.8-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.10.8"
dependencies {
  implementation "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 {
  implementation "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.10.1"
dependencies {
  implementation "org.joml:joml-gwt:${jomlVersion}"
}

and add the following to your application module XML file:

  <!-- Add JOML -->
  <inherits name="org.joml.JOML"/>