summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexManos <LexManos@gmail.com>2016-08-20 17:11:08 -0700
committerLexManos <LexManos@gmail.com>2016-08-20 17:11:17 -0700
commit7c9542263b7d245623d628e3c102202cf83f18c4 (patch)
tree3fef0a710a5a255c0248be9da416c04d404d8f2f
parenta3ec97428500093dc60528f3f2e80aa69e309654 (diff)
Update gradle wrapper to 2.14, reference MC json, and add java6 compat lines to default MDK build.gradle.
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
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"