summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexManos <LexManos@gmail.com>2016-12-05 12:16:30 -0800
committerLexManos <LexManos@gmail.com>2016-12-05 12:16:30 -0800
commit5c06a5ad8f0a10877b4471ce9244d2d0474bff85 (patch)
tree72f51109617192f100c1bc6e743cff2ed37cbb4c
parentf1a961b6d052dc6f7e7e414dcb32c959de8b74ce (diff)
Added gradle.properties to MDK (#3361)
The file sets the default max heap size to 3 GiB so that the decompilation doesn't fail as often. (cherry picked from commit 49ec3d1b9322ee2b7a1312059118173b0b3fe6d0)
-rw-r--r--gradle.properties3
1 files changed, 3 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..e9b9fd5
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,3 @@
+# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
+# This is required to provide enough memory for the Minecraft decompilation process.
+org.gradle.jvmargs=-Xmx3G