mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
add build number to JAR
This commit is contained in:
parent
0ca8947681
commit
5026ca838b
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ targetCompatibility = 1.8
|
|||
archivesBaseName = "fabric"
|
||||
version = "0.1.0"
|
||||
|
||||
def ENV = System.getenv()
|
||||
version = version + "." + (ENV.BUILD_NUMBER ?: "local")
|
||||
|
||||
minecraft {
|
||||
refmapName = "net.fabricmc.fabric.refmap.json"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue