Skip to content

Adding UneiConfiguration to your project

JesFot edited this page Mar 2, 2020 · 9 revisions

Maven

If you're using Maven, simply add this to the dependencies section of your POM.

<repositories>
    <repository>
        <id>unei-repo</id>
        <name>Unei</name>
        <url>http://unei.github.io/maven</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>me.unei</groupId>
        <artifactId>uneiconfiguration-api</artifactId>
        <version>1.5</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle

If you're using Gradle, you need to add these lines to your build script.

repositories {
    maven { url 'http://unei.github.io/maven' }
}

dependencies {
    compile 'me.unei:uneiconfiguration-api:1.5'
}

Note: compile can be optionally replaced by either api or implementation on newer Gradle versions to distinguish whether dependant projects should transitively pick up the UneiConfiguration API dependency.

Manual

If you want to manually add the API dependency to your classpath, you can obtain the jar by:

  1. Navigating to http://unei.github.io/
  2. Selecting and downloading the version you wish to use (titled UneiConfigurationAPI-x.x.jar)