From 6f710dc16660d2aecabeba67d5af059a5a9d9608 Mon Sep 17 00:00:00 2001 From: cech12 Date: Thu, 28 Nov 2024 11:49:40 +0100 Subject: [PATCH] make neoforge build ready for Gradle 8.11 --- neoforge/build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neoforge/build.gradle b/neoforge/build.gradle index 0461c34..45d2f46 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -1,6 +1,6 @@ plugins { id 'idea' - id 'net.neoforged.gradle.userdev' version '7.0.145' + id 'net.neoforged.gradle.userdev' version '7.0.158' id 'java-library' } base { @@ -23,13 +23,13 @@ runs { } server { systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id - programArgument '--nogui' + argument '--nogui' } gameTestServer { systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id } data { - programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath() + arguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath() } }