add build number to JAR

This commit is contained in:
Adrian Siekierka 2018-12-09 17:47:35 +01:00
parent 0ca8947681
commit 5026ca838b

View file

@ -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"
}