Run datagen when packing the jar up
This commit is contained in:
parent
41192c77ac
commit
c326453a36
3 changed files with 4 additions and 3 deletions
|
@ -220,6 +220,7 @@ tasks.named('jar', Jar).configure {
|
||||||
|
|
||||||
// This is the preferred method to reobfuscate your jar file
|
// This is the preferred method to reobfuscate your jar file
|
||||||
finalizedBy 'reobfJar'
|
finalizedBy 'reobfJar'
|
||||||
|
dependsOn 'runData'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ mod_name=Thresholds
|
||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=GPLv3
|
mod_license=GPLv3
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1201.4.022024.0416
|
mod_version=1201.4.022024.0459
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
"description": {
|
"description": {
|
||||||
"text": "${mod_id} resources"
|
"text": "${mod_id} resources"
|
||||||
},
|
},
|
||||||
"pack_format": ${pack_format_number}
|
"pack_format": 15
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in a new issue