Skip to content

Commit 4c93cc7

Browse files
committed
Fix mod sources/datagen
1 parent 0ba9605 commit 4c93cc7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

neoforge-datagen/build.gradle.kts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ minecraft {
2727
runs {
2828
// applies to all the run configs below
2929
configureEach {
30-
systemProperty("forge.logging.markers", "") // 'SCAN,REGISTRIES,REGISTRYDUMP'
31-
32-
// Recommended logging level for the console
30+
systemProperty("forge.logging.markers", "")
3331
systemProperty("forge.logging.console.level", "debug")
3432

35-
modSource(project.sourceSets.main.get())
36-
modSource(mainProject.sourceSets.main.get())
37-
38-
modSource(coreApi.sourceSets.main.get())
33+
modSources {
34+
add(modId, project.sourceSets.main.get())
35+
add(modId, mainProject.sourceSets.main.get())
36+
add(modId, coreApi.sourceSets.main.get())
37+
}
3938
}
4039

4140
create("data") {

0 commit comments

Comments
 (0)