plugins { id "java" id "eclipse" } sourceCompatibility = targetCompatibility = 1.8 compileJava { sourceCompatibility = targetCompatibility = 1.8 } repositories { mavenCentral() maven { name = "forge" url = "https://maven.minecraftforge.net/" } } dependencies { compileOnly "net.minecraftforge:installer:2.0.24" }