/* Create Libloader */
LibLoader libLoader = new LibLoader()
/* Resolve Artifact (download if not in .m2 Folder)*/
libLoader.require("<GroupID>:<ArtifactID>:<Version>");
/* add Maven Repository */
libLoader.addRepository("<Your Maven Repository URL>");
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Phyrone.LibLoader</groupId>
<artifactId>LibLoader-Core</artifactId>
<version>VERSION</version>
</dependency>
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Phyrone.LibLoader:LibLoader-Core:VERSION'
}