mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 15:39:22 +01:00
added build number to version
This commit is contained in:
parent
edb7e9b8b7
commit
0e7c9cb3f7
1 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,10 @@ plugins {
|
|||
jarJar.enable()
|
||||
|
||||
version = mod_version
|
||||
if (System.getenv('BUILD_NUMBER') != null) {
|
||||
version += "." + System.getenv('BUILD_NUMBER')
|
||||
}
|
||||
|
||||
group = mod_group_id
|
||||
|
||||
base {
|
||||
|
@ -171,7 +175,7 @@ tasks.named('processResources', ProcessResources).configure {
|
|||
minecraft_version : minecraft_version, minecraft_version_range: minecraft_version_range,
|
||||
forge_version : forge_version, forge_version_range: forge_version_range,
|
||||
loader_version_range: loader_version_range,
|
||||
mod_id : mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
|
||||
mod_id : mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: version,
|
||||
mod_authors : mod_authors, mod_description: mod_description,
|
||||
]
|
||||
inputs.properties replaceProperties
|
||||
|
|
Loading…
Reference in a new issue