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 { modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modApi include ("me.shedaniel.cloth:cloth-config-fabric:6.+") modImplementation "com.terraformersmc:modmenu:3.+" } if (flavor == "curseforge") { sourceSets.main.java.filter.exclude("**/unsafe/*") sourceSets.main.resources.exclude("**/native/*") }