mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Do not append commit when building locally
Because the commit is the version when building locally.
This commit is contained in:
parent
00641c8108
commit
cc75654b05
@ -25,7 +25,11 @@ fun Project.applyPlatformAndCoreConfiguration() {
|
|||||||
// apply(plugin = "checkstyle")
|
// apply(plugin = "checkstyle")
|
||||||
apply(plugin = "com.github.johnrengelman.shadow")
|
apply(plugin = "com.github.johnrengelman.shadow")
|
||||||
|
|
||||||
|
if (project.hasProperty("buildnumber")) {
|
||||||
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}"
|
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}"
|
||||||
|
} else {
|
||||||
|
ext["internalVersion"] = "$version"
|
||||||
|
}
|
||||||
|
|
||||||
tasks
|
tasks
|
||||||
.withType<JavaCompile>()
|
.withType<JavaCompile>()
|
||||||
|
Loading…
Reference in New Issue
Block a user