group 'Hooks:SlimeWorldManager' dependencies { compileOnly "com.grinderwolf:slimeworldmanager-api:2.2.1" compileOnly "org.spigotmc:v1_8_R3-Taco:latest" compileOnly project(":API") compileOnly rootProject } if (project.hasProperty('hook.compile_slimeworldmanager') && !Boolean.valueOf(project.findProperty("hook.compile_slimeworldmanager").toString())) { project.tasks.all { task -> task.enabled = false } }