Clone wiki

libgdx-utils / Dependency Instructions

How to use libgdx-utils in your project

Releases are hosted on Maven Central.
Snapshots and releases are hosted on sonatype.

You can see the available versions on these repositories and, if you don't use Gradle, download all artifacts manually (jar, source jar and javadoc jar).

Gradle/libGDX

allProjects {
    // ...
    repositories {
        mavenCentral() // releases
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } // snapshots
    }
    ext {
        // ...
        gdxUtilsVersion = '0.13.4'
    }
}

project(':core') {
    // ...
    dependencies {
        // ...
        compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
        compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion" // Box2D module (optional)
    }
}

project(':html') {
    // ...
    dependencies {
        // ...
        compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion:sources"
        compile "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion:sources" // Box2D module (optional)
    }
}

Maven

<groupId>net.dermetfan.libgdx-utils</groupId>
<artifactId>libgdx-utils</artifactId> <!-- libgdx-utils-box2d -->
<!-- <classifier>sources</classifier> --> <!-- for GWT -->
<version>0.13.4</version>

Updated