From 89e0e1c786de7f28fc13ecc01004bf663c3b8156 Mon Sep 17 00:00:00 2001 From: cech12 Date: Thu, 28 Nov 2024 11:35:20 +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 760bbdd..216a287 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -1,7 +1,7 @@ plugins { id 'idea' id 'maven-publish' - id 'net.neoforged.gradle.userdev' version '7.0.165' + id 'net.neoforged.gradle.userdev' version '7.0.171' 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() } }