apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle" allprojects { if (project.name in rootProject.nonModSubprojects) return loom { runs { testmodClient { client() ideConfigGenerated project.rootProject == project name = "Testmod Client" source sourceSets.testmod } testmodServer { server() ideConfigGenerated project.rootProject == project name = "Testmod Server" source sourceSets.testmod } } } dependencies { testmodRuntimeOnly("com.terraformersmc:modmenu:4.0.5") testmodRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$project.fabric_version") compileOnly("io.gitlab.jfronny:commons:$rootProject.commons_version") compileOnly("io.gitlab.jfronny:commons-gson:$rootProject.commons_version") } }