13
0
geforkt von Mirrors/Velocity

This is Velocity 1.0.0

Dieser Commit ist enthalten in:
Andrew Steinborn 2019-06-12 18:10:33 -04:00
Ursprung b0736548a9
Commit d7e4e20c76
2 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -13,7 +13,7 @@ plugins {
allprojects { allprojects {
group 'com.velocitypowered' group 'com.velocitypowered'
version '1.0.0-SNAPSHOT' version '1.0.0'
sourceCompatibility = 1.8 sourceCompatibility = 1.8
targetCompatibility = 1.8 targetCompatibility = 1.8

Datei anzeigen

@ -13,7 +13,12 @@ apply plugin: 'com.github.johnrengelman.shadow'
jar { jar {
manifest { manifest {
def buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown" def buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown"
def version = "${project.version} (git-${project.ext.getCurrentShortRevision()}-b${buildNumber})" def version
if (project.version.endsWith("-SNAPSHOT")) {
version = "${project.version} (git-${project.ext.getCurrentShortRevision()}-b${buildNumber})"
} else {
version = "${project.version}"
}
attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity' attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity'
attributes 'Implementation-Title': "Velocity" attributes 'Implementation-Title': "Velocity"