Make sure the generated data is included in the final jar
This commit is contained in:
parent
d7caa09f5f
commit
7f355dac8e
1 changed files with 11 additions and 0 deletions
11
build.gradle
11
build.gradle
|
@ -67,6 +67,17 @@ loom {
|
|||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
// Add the datagenned files into the jar.
|
||||
resources {
|
||||
srcDirs += [
|
||||
'src/main/generated'
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings loom.officialMojangMappings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue