Remove hardcoded modid from Forge run generation.
This commit is contained in:
parent
6e8a284425
commit
b7f45281db
|
|
@ -27,7 +27,7 @@ minecraft {
|
||||||
workingDirectory project.file('run')
|
workingDirectory project.file('run')
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modClientRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
@ -38,7 +38,7 @@ minecraft {
|
||||||
workingDirectory project.file('run')
|
workingDirectory project.file('run')
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modServerRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
@ -50,7 +50,7 @@ minecraft {
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modDataRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user