mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-14 14:45:27 +01:00
19b4da07b9
Adds run-paper plugin support as well as moves majority of logic to kotlin build scrips Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
15 lines
407 B
Groovy
15 lines
407 B
Groovy
plugins {
|
|
id("essentials.parent-build-logic")
|
|
}
|
|
|
|
group = "net.essentialsx"
|
|
version = "2.19.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}")
|
|
}
|