docsReading time: 3 minutes


Now, let us discuss how to actually download the LITIENGINE library. There are multiple ways to achieve this:

Download the LITIENGINE Java library manually

From the Maven central repository

The Maven Central Repository is the default repository for Apache Maven, SBT and other build systems and can be easily used from Apache Ant/Ivy, Gradle and many other tools. You can download the LITIENGINE library directly from the Maven Central Repository if you do not want to use a dedicated build system or need only specific files.


The LITIENGINE SDK consists of the LITIENGINE Java library and utiLITI, our project management and map creation tool. It is a stand-alone editor which produces project files that can then be loaded to your game. You can download the LITIENGINE SDK from

Note: The utiLITI editor is not an IDE for Java development.

Add the downloaded library to your project


  • Open the context menu on your project
  • Select Properties > Java Build Path > Libraries. From here, you can add JAR files to the build path, whether they are inside your workspace or not. You can also add a class folder, a directory containing Java class files that are not in a JAR.

Example: The LITIENGINE library is in the lib folder inside your project. Simply go to Project -> Properties -> Java Build Path -> Libraries -> Add JAR and add lib/litiengine-0.5.1.jar to your project's build path.

IntelliJ IDEA

  • Go to File -> Project Structure (Ctrl+Alt+Shift+S)
  • Go to Project Settings -> Libraries
  • Hit New Project Library / + (Alt+Insert) and locate litiengine-0.5.1.jar

Download the LITIENGINE Java library via Build Automation Utilities


Add the LITIENGINE dependency to your Gradle project by adding the following code to your project's build.gradle file:

apply plugin: 'java'
apply plugin: 'application'

repositories {

dependencies {
  // For Gradle versions below 3.0
  compile 'de.gurkenlabs:litiengine:0.5.1'

  // For Gradle versions above 3.0
  implementation 'de.gurkenlabs:litiengine:0.5.1'

Note: if you failed build, try to modify apply plugin: 'java' to apply plugin: 'java-library'

The compile step has been deprecated since Gradle 3.0 - use implementation instead for newer versions!

A basic example for a Gradle based LITIENGINE project can be found HERE. Have a look at the project's build.gradle and settings.gradle.

Apache Maven

Add the following code to your project's pom.xml:


Apache Ant

To manage dependencies in Ant, you can use Apache Ivy. Add the following code to ivy.xml:

  <dependency org="de.gurkenlabs" name="litiengine" rev="0.5.1" />

nightm4re94Last updated 4 months ago
On this page