Skip to content

Commit 945236a

Browse files
committed
Update to MDG 2
1 parent f6bc8f6 commit 945236a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'eclipse'
44
id 'idea'
55
id 'maven-publish'
6-
id 'net.neoforged.moddev' version '1.0.1'
6+
id 'net.neoforged.moddev' version '2.0.72'
77
id 'com.diffplug.spotless' version '6.25.0'
88
id 'com.matthewprenger.cursegradle' version '1.4.0'
99
id "com.modrinth.minotaur" version "2.+"
@@ -189,7 +189,7 @@ neoForge {
189189
runs {
190190
// applies to all the run configs below
191191
configureEach {
192-
mods = [neoForge.mods.modern_industrialization]
192+
loadedMods = [mods.modern_industrialization]
193193

194194
// Recommended logging data for a userdev environment
195195
// The markers can be added/remove as needed separated by commas.
@@ -207,7 +207,7 @@ neoForge {
207207
client {
208208
client()
209209
sourceSet = sourceSets.client
210-
mods = [neoForge.mods.modern_industrialization_with_client]
210+
loadedMods = [mods.modern_industrialization_with_client]
211211
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
212212
systemProperty 'forge.enabledGameTestNamespaces', "modern_industrialization"
213213
}
@@ -229,7 +229,7 @@ neoForge {
229229
data {
230230
data()
231231
sourceSet = sourceSets.client
232-
mods = [neoForge.mods.modern_industrialization_with_client]
232+
loadedMods = [mods.modern_industrialization_with_client]
233233
// example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it
234234
// workingDirectory project.file('run-data')
235235

0 commit comments

Comments
 (0)