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
}
}
}
} }
} }

View file

@ -42,7 +42,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magn
# Does this dependency have to exist - if not, ordering below must be specified # Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory mandatory=true #mandatory
# The version range of the dependency # The version range of the dependency
versionRange="[26,)" #mandatory versionRange="[27,)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE" ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER # Side this dependency is applied on - BOTH, CLIENT or SERVER
@ -51,6 +51,6 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magn
[[dependencies.examplemod]] [[dependencies.examplemod]]
modId="minecraft" modId="minecraft"
mandatory=true mandatory=true
versionRange="[1.14.2]" versionRange="[1.14.3]"
ordering="NONE" ordering="NONE"
side="BOTH" side="BOTH"