Split userdev data entry point into it's own provider to fix duplicate mod issue.

This commit is contained in:
LexManos 2019-06-25 18:03:51 -07:00
parent b02f3209df
commit 35aab8b17a
2 changed files with 20 additions and 2 deletions

View file

@ -64,6 +64,24 @@ minecraft {
}
}
}
data {
workingDirectory project.file('run')
// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/')
mods {
examplemod {
source sourceSets.main
}
}
}
}
}