// Adjust the output jar name here archivesBaseName = "${mod_name}-Fabric-${minecraft_version}" dependencies { // Add your own dependencies here // Fabric API. Can be removed if not needed modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_api}" // Do not remove or edit! implementation(project(":Common")) } // Maven Publishing. Remove if not needed publishing { publications { mavenJava(MavenPublication) { artifactId base.archivesName.get() from components.java } } repositories { // Add your maven repository here maven { url "file://" + System.getenv("local_maven") } } } /** * =============================================================================== * = DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING = * =============================================================================== */ unimined.minecraft { fabric { loader fabric_loader } } processResources { from project(":Common").sourceSets.main.resources def buildProps = project.properties.clone() filesMatching(['fabric.mod.json']) { expand buildProps } } compileTestJava.enabled = false tasks.withType(JavaCompile).configureEach { source(project(":Common").sourceSets.main.allSource) }