From a01bfc260aa7379dbe81c6008f17632e0a82714f Mon Sep 17 00:00:00 2001 From: LexManos Date: Sat, 20 Aug 2016 17:11:08 -0700 Subject: [PATCH] Update gradle wrapper to 2.14, reference MC json, and add java6 compat lines to default MDK build.gradle. --- gradle/wrapper/gradle-wrapper.properties | 2 +- jsons/1.10.2.json | 12 ++++++------ mdk/build.gradle | 5 +++++ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9397848f1..e18cba72f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip diff --git a/jsons/1.10.2.json b/jsons/1.10.2.json index 596937d1e..0df36f74e 100644 --- a/jsons/1.10.2.json +++ b/jsons/1.10.2.json @@ -242,13 +242,13 @@ } }, { - "name": "com.mojang:realms:1.9.3", + "name": "com.mojang:realms:1.9.5", "downloads": { "artifact": { - "size": 1575798, - "sha1": "b291425bf7ef763452eaa894575018706339f72b", - "path": "com/mojang/realms/1.9.3/realms-1.9.3.jar", - "url": "https://libraries.minecraft.net/com/mojang/realms/1.9.3/realms-1.9.3.jar" + "size": 1575703, + "sha1": "efd57120f97df871cc725cf832f628d9d3f17eec", + "path": "com/mojang/realms/1.9.5/realms-1.9.5.jar", + "url": "https://libraries.minecraft.net/com/mojang/realms/1.9.5/realms-1.9.5.jar" } } }, @@ -558,6 +558,6 @@ "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --versionType ${version_type}", "minimumLauncherVersion": 18, "releaseTime": "2016-06-23T09:17:32+00:00", - "time": "2016-07-22T08:46:23+00:00", + "time": "2016-08-16T12:54:57+00:00", "type": "release" } diff --git a/mdk/build.gradle b/mdk/build.gradle index 51920344d..68a98c418 100644 --- a/mdk/build.gradle +++ b/mdk/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"