@@ -20,7 +20,7 @@ plugins {
2020 id(' eclipse' )
2121 id(' idea' )
2222 id(' maven-publish' )
23- id(' net.neoforged.gradle.userdev' ) version(' 7.0.154 ' )// https://projects.neoforged.net/neoforged/neogradle
23+ id(' net.neoforged.gradle.userdev' ) version(' 7.0.161 ' )// https://projects.neoforged.net/neoforged/neogradle
2424}
2525
2626tasks. named(' wrapper' , Wrapper ). configure {
@@ -267,13 +267,13 @@ runs {
267267 client {
268268 }
269269 clientAlt {
270- configure (' client' )
270+ runType (' client' )
271271 // Force disable devLogin for clientAlt regardless of if it is enabled via gradle properties for the main gradle run
272272 devLogin. enabled(false )
273273 if (! (findProperty(' neogradle.subsystems.devLogin.conventionForRun' ) ?: false )) {
274274 // If the property is missing or set to false (so the normal runClient task would use Dev as the name),
275275 // change the name of the alt client type so that it doesn't conflict with the main dev one
276- programArguments . addAll((String []) [' --username' , ' AltDev' ])
276+ arguments . addAll((String []) [' --username' , ' AltDev' ])
277277 }
278278 }
279279 server {
@@ -282,21 +282,21 @@ runs {
282282 modSources. add((SourceSet ) sourceSets. gameTest)
283283 }
284284 gameTestClient {
285- configure (' client' )
285+ runType (' client' )
286286 modSources. add((SourceSet ) sourceSets. gameTest)
287287 }
288288 junit {
289289 unitTestSources. add((SourceSet ) sourceSets. test)
290290 }
291291 data {
292- programArguments . addAll((String []) [' --all' , ' --output' , file(' src/datagen/generated/' ). absolutePath,
292+ arguments . addAll((String []) [' --all' , ' --output' , file(' src/datagen/generated/' ). absolutePath,
293293 ' --mod' , ' mekanism' , ' --existing' , file(' src/main/resources/' ). absolutePath])
294294
295295 modSources. add((SourceSet ) sourceSets. datagenMain)
296296
297297 for (String name : secondaryModules) {
298298 modSources. add(getExtraSourceSet(name, ' datagen' ). get())
299- programArguments . addAll((String []) [' --mod' , " mekanism${ name} " , ' --existing' , file(" src/${ name} /resources/" ). absolutePath])
299+ arguments . addAll((String []) [' --mod' , " mekanism${ name} " , ' --existing' , file(" src/${ name} /resources/" ). absolutePath])
300300 }
301301
302302 dependencies {
0 commit comments