From 043cb331eeddaa16a8278a86bc5e3f9014748bc9 Mon Sep 17 00:00:00 2001 From: Curle <42079760+TheCurle@users.noreply.github.com> Date: Mon, 6 Jul 2020 22:44:59 +0100 Subject: [PATCH] Add extra debugging information to the MDK (#6882) --- mdk/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdk/build.gradle b/mdk/build.gradle index 9b0d65070e..937ec448e5 100644 --- a/mdk/build.gradle +++ b/mdk/build.gradle @@ -18,6 +18,8 @@ group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming archivesBaseName = 'modid' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. +//Print out JVM information so that we know what version is running. Extreamly useful for people to know when helping you. +println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ') Arch: ' + System.getProperty('os.arch')) minecraft { // The mappings can be changed at any time, and must be in the following format. @@ -143,4 +145,4 @@ publishing { url "file:///${project.projectDir}/mcmodsrepo" } } -} \ No newline at end of file +}