Step 1: Add CRModder's Maven in your build.gradle at the end of your repositories tag.
Here is an example repositories
section
repositories {
maven { url 'https://maven.crmodders.dev/releases/' }
maven { url 'https://maven.crmodders.dev/snapshots/' }
mavenCentral()
}
Step 2: Add Flux to your dependencies using the text below
gameMod "dev.crmodders:fluxapi:0.6.0"
To run Cosmic Quilt in the dev env, run gradle runQuilt
To run Fabric in the dev env, run gradle runFabric
To build, run gradlew build
with the jar being in build/libs/
and ending with -all.jar