But hey! How do I add X artifact? Quite simply, add this repository to the build path as following:
repositories {
maven {
name = "Zeith Maven"
url = "https://maven.zeith.org"
}
}
(needs to be done only once)
And then add the following line to dependencies:
dependencies {
deobfCompile "org.zeith.X:X-MC:MV:deobf"
}
(where X might be anything, MC is minecraft version and MV is mod version)
HammerLib example for 1.12.2:
repositories {
maven {
name = "Zeith Maven"
url = "https://maven.zeith.org"
}
}
dependencies {
deobfCompile "org.zeith.HammerLib:HammerLib-1.12.2:12.2.47"
}