Skip to content
Alexander edited this page Sep 4, 2019 · 3 revisions

To use this library you should specify repositories for dependencies and for library itself.

Adding repositories

For using this library you should add these urls as repositories:

For LWJGL and JOML dependencies

Maven

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

Gradle

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

Also you can add your own versions of these libraries using LWJGL form.

For LEGUI and CBCHAIN dependencies

Maven

<repositories>
  <repository>
    <id>so-releases</id>
    <url>https://raw.githubusercontent.com/SpinyOwl/repo/releases</url>
  </repository>
  <repository>
    <id>so-snapshots</id>
    <url>https://raw.githubusercontent.com/SpinyOwl/repo/snapshots</url>
  </repository>
</repositories>

Gradle

repositories {
    maven { url "https://raw.githubusercontent.com/SpinyOwl/repo/snapshots" }
    maven { url "https://raw.githubusercontent.com/SpinyOwl/repo/releases" }
}

For latest develop build you can use next repository: https://raw.githubusercontent.com/SpinyOwl/repo/develop

Adding library:

Add library using Maven:

<!-- LEGUI - SNAPSHOT - https://github.com/SpinyOwl/legui -->
<dependency>
   <groupId>org.liquidengine</groupId>
   <artifactId>legui</artifactId>
   <version>${legui_version}</version>
</dependency>

Add library using Gradle:

compile group: 'org.liquidengine', name: 'legui', version: "$legui_version";

All available library versions and artifacts you could find here:

Develop builds: https://github.com/SpinyOwl/repo/tree/develop/org/liquidengine/legui
Snapshot builds: https://github.com/SpinyOwl/repo/tree/snapshots/org/liquidengine/legui
Release builds: https://github.com/SpinyOwl/repo/tree/releases/org/liquidengine/legui