mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-11-04 19:15:57 +00:00
14 lines
407 B
Groovy
14 lines
407 B
Groovy
plugins {
|
|
id("essentials.parent-build-logic")
|
|
}
|
|
|
|
group = "net.essentialsx"
|
|
version = "2.19.1-SNAPSHOT"
|
|
|
|
project.ext {
|
|
GIT_COMMIT = !indraGit.isPresent() ? "unknown" : indraGit.commit().abbreviate(7).name()
|
|
GIT_DEPTH = GitUtil.commitsSinceLastTag(project)
|
|
GIT_BRANCH = GitUtil.headBranchName(project)
|
|
|
|
FULL_VERSION = "${version}".replace("-SNAPSHOT", "-dev+${GIT_DEPTH}-${GIT_COMMIT}")
|
|
}
|