Deploy library to local repository - AdvantageNavigator/ImportEngine GitHub Wiki
Install library
The library contains a Gradle build file that enables to create a JAR libarary from source. To install the libarary to the local Maven repository, execute the following command:
gradle install
According to the Maven naming conventions, the library will be installed with group id com.siemens.eadvanatage, artifact id importengine and the version specified in the build.gradle file.
Use library in own project
The use the library in another project after it has been installed in the local repository, the Gradle dependency mechanisms can be used:
repositories {
// add maven local repository
mavenLocal()
mavenCentral()
}
dependencies {
// set dependency according to current project version
// transitive dependencies will be loaded from maven central repository
compile 'com.siemens.eadvantage:importengine:0.8'
}
More information about Maven dependencies can be found here.