Task to copy generated files to resources.

This commit is contained in:
Florian Nücke
2021-05-09 12:17:38 +02:00
parent b80f80644e
commit abdeb7cb75

View File

@@ -135,6 +135,13 @@ minecraft {
}
}
task copyGeneratedResources(type: Copy) {
from "src/generated"
into "src/main"
exclude "resources/.cache"
exclude "resources/assets/oc2/models/block"
}
jar {
finalizedBy 'reobfJar'