Skip to content

Where to get the library

damios edited this page Aug 28, 2022 · 7 revisions

This library is on jitpack (Release ), so can very easily be used in one's favourite dependency management framework.

Gradle:

Open your root build.gradle file. First, you need to add the Jitpack repository:

allprojects {
    repositories {
        // ...
        maven { url 'https://jitpack.io' }
    }
}

Secondly, add the screenmanager dependency to your core project:

project(":core") {
    // ...

    dependencies {
        // ...
        api "com.github.crykn:libgdx-screenmanager:X.Y.Z"
    }
}

Be sure to replace X.Y.Z with the latest version. To get the library working with GWT take a look here.

Maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.crykn</groupId>
    <artifactId>libgdx-screenmanager</artifactId>
    <version>X.Y.Z</version>
</dependency>