Skip to content

Commit

Permalink
Fix datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
JuiceyBeans authored Oct 15, 2024
1 parent 01c6ce1 commit 87b94ec
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ loom {
// also, any names used in your access transformer will need to be
// in SRG mapped ("func_" / "field_" with MCP class names) to work!
// (both of these things may be subject to change in the future)
}
}

runs {
data {
data()
programArgs "--all", "--mod", project.mod_id
programArgs "--output", generatedResources.absolutePath
dataGen{
mod(mod_id)
}
}
runConfigs.named("data").configure {
programArg("--existing=" + file("src/main/resources").absolutePath)
programArgs("--client", "--server")
}
}

repositories {
mavenLocal()
Expand Down

0 comments on commit 87b94ec

Please sign in to comment.