Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Do not append commit when building locally
Because the commit is the version when building locally.
Dieser Commit ist enthalten in:
Ursprung
00641c8108
Commit
cc75654b05
@ -25,8 +25,12 @@ fun Project.applyPlatformAndCoreConfiguration() {
|
|||||||
// apply(plugin = "checkstyle")
|
// apply(plugin = "checkstyle")
|
||||||
apply(plugin = "com.github.johnrengelman.shadow")
|
apply(plugin = "com.github.johnrengelman.shadow")
|
||||||
|
|
||||||
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}"
|
if (project.hasProperty("buildnumber")) {
|
||||||
|
ext["internalVersion"] = "$version;${rootProject.ext["gitCommitHash"]}"
|
||||||
|
} else {
|
||||||
|
ext["internalVersion"] = "$version"
|
||||||
|
}
|
||||||
|
|
||||||
tasks
|
tasks
|
||||||
.withType<JavaCompile>()
|
.withType<JavaCompile>()
|
||||||
.matching { it.name == "compileJava" || it.name == "compileTestJava" }
|
.matching { it.name == "compileJava" || it.name == "compileTestJava" }
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren