You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TF-EssentialsX/build.gradle

15 lines
407 B

plugins {
id("essentials.parent-build-logic")
}
group = "net.essentialsx"
version = "2.20.0-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}")
}