datagen continuation
This commit is contained in:
@@ -66,6 +66,10 @@ neoForge {
|
||||
accessTransformers.from(at.absolutePath)
|
||||
validateAccessTransformers = true
|
||||
|
||||
val commonResources = project(":common").file("src/main/resources").absolutePath
|
||||
val localResources = project.file("src/main/resources").absolutePath
|
||||
val generatedResources = project.file("src/generated/resources").absolutePath
|
||||
|
||||
runs {
|
||||
register("client") {
|
||||
client()
|
||||
@@ -87,9 +91,9 @@ neoForge {
|
||||
programArguments.addAll(
|
||||
"--mod", commonMod.id,
|
||||
"--all",
|
||||
"--output", file("src/generated/resources").absolutePath,
|
||||
"--existing", file("src/main/resources").absolutePath,
|
||||
"--existing", project(":common").file("src/main/resources").absolutePath
|
||||
"--output", generatedResources,
|
||||
"--existing", localResources,
|
||||
"--existing", commonResources
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user