Skip to content

Adding UneiConfiguration to your project

JesFot edited this page Apr 17, 2019 · 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.gitlab.io/maven</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>me.unei</groupId>
        <artifactId>uneiconfiguration-api</artifactId>
        <version>1.2</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.gitlab.io/maven' }
}

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

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.