-
Notifications
You must be signed in to change notification settings - Fork 0
Adding UneiConfiguration to your project
JesFot edited this page Mar 2, 2020
·
9 revisions
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>
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 eitherapi
orimplementation
on newer Gradle versions to distinguish whether dependant projects should transitively pick up the UneiConfiguration API dependency.
If you want to manually add the API dependency to your classpath, you can obtain the jar by:
- Navigating to
http://unei.github.io/
- Selecting and downloading the version you wish to use (titled
UneiConfigurationAPI-x.x.jar
)