You can have your project depend on MartexLibrary as a dependency through the following code snippets:
<project>
<repositories>
<repository>
<id>reposilite-repository</id>
<name>GeorgeV22 Repository</name>
<url>https://repo.georgev22.com/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.georgev22.library</groupId>
<artifactId>{artifact}</artifactId>
<version>10.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
You can include MartexLibrary into your gradle project using the following lines:
repositories {
maven {
url "https://repo.georgev22.com/releases"
}
}
dependencies {
compileOnly "com.georgev22.library:{artifact}:10.0.0:all"
}
MartexLibrary can be built by running the following: gradle clean build shadowJar
. The resultant jar is built and written
to {artifact}/build/libs/{artifact}-{version}.jar
.
The build directories can be cleaned instead using the gradle clean
command.
If you want to clean (install) and build the plugin use gradle clean build shadowJar
command.
MartexLibrary is an open source GNU General Public License v3.0
licensed project. I accept contributions through pull
requests, and will make sure to credit you for your awesome contribution.