Jitpack is cringe and unreliable, let us build Mindustry ourselves.
Mindustry, Arc and Rhino are built with a GitHub action. Then, the resulting artifacts are uploaded to our S3 server (minio). Finally, they are served by our maven server (reposilite) via the mindustry repository.
The repository provide all necessary dependencies for compiling Mindustry plugins and mods. You just have replace jitpack with it.
// Groovy
repositories {
mavenCentral()
maven { url = uri("https://maven.xpdustry.com/mindustry") }
}
// Kotlin
repositories {
mavenCentral()
maven("https://maven.xpdustry.com/mindustry")
}
Warning
The Maven repository does not provide any other library rewritten by Anuke apart Rhino. Thus if you want to use Anuken's steamworks4j, you will have to comeback to Jitpack.
- V146
- V145