diff --git a/build.gradle b/build.gradle index 5192034..68a98c4 100644 --- a/build.gradle +++ b/build.gradle @@ -24,6 +24,11 @@ version = "1.0" group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "modid" +sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly. +compileJava { + sourceCompatibility = targetCompatibility = "1.6" +} + minecraft { version = "@VERSION@" runDir = "run"