Do not append commit when building locally

Because the commit is the version when building locally.
Dieser Commit ist enthalten in:
NotMyFault 2021-04-19 12:56:34 +02:00
Ursprung 00641c8108
Commit cc75654b05
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -25,7 +25,11 @@ fun Project.applyPlatformAndCoreConfiguration() {
// apply(plugin = "checkstyle")
apply(plugin = "com.github.johnrengelman.shadow")
if (project.hasProperty("buildnumber")) {
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}"
} else {
ext["internalVersion"] = "$version"
}
tasks
.withType<JavaCompile>()