apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle" ext.flavor = project.hasProperty('flavor') ? project.getProperty('flavor') : 'modrinth' repositories { maven { url = "https://maven.shedaniel.me/"; name = "Cloth Config" } } dependencies { modRuntimeOnly "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modApi("me.shedaniel.cloth:cloth-config-fabric:7.0.73") { exclude(group: "net.fabricmc.fabric-api") } modImplementation "com.terraformersmc:modmenu:4.0.5" } if (flavor == "curseforge") { sourceSets.main.java.filter.exclude("**/unsafe/*") sourceSets.main.resources.exclude("**/native/*") }