group 'v1_12_R1' dependencies { compileOnly "org.spigotmc:v1_12_R1:latest" compileOnly project(":API") compileOnly parent } if (project.hasProperty('nms.compile_v1_12') && !Boolean.valueOf(project.findProperty("nms.compile_v1_12").toString())) { project.tasks.all { task -> task.enabled = false } }