9
0
mirror of https://github.com/Dreeam-qwq/Gale.git synced 2026-01-03 22:16:41 +00:00

Use virtual threads without reflection module opens

This commit is contained in:
Martijn Muijsers
2023-08-11 21:10:12 +02:00
parent 0d1d3d8792
commit dc0ed0d1c7
4 changed files with 15 additions and 21 deletions

View File

@@ -0,0 +1,20 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Martijn Muijsers <martijnmuijsers@live.nl>
Date: Mon, 13 Feb 2023 21:18:44 +0100
Subject: [PATCH] Enable preview features for development runs
License: GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html)
Gale - https://galemc.org
diff --git a/build.gradle.kts b/build.gradle.kts
index c64da95d9374ab00cfd75ead02e88e187e8fc5fc..123c2c1bdc4ba5b887910bc613a43bc60be1c99e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -198,6 +198,7 @@ fun TaskContainer.registerRunTask(
val memoryGb = providers.gradleProperty("paper.runMemoryGb").getOrElse("2")
minHeapSize = "${memoryGb}G"
maxHeapSize = "${memoryGb}G"
+ jvmArgs("--enable-preview") // Gale - enable preview features for development runs
doFirst {
workingDir.mkdirs()