mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Add printPaperVersion task
This commit is contained in:
parent
8b2e99a315
commit
a9bcb9deed
1 changed files with 6 additions and 0 deletions
|
@ -128,3 +128,9 @@ tasks.register("printMinecraftVersion") {
|
||||||
println(providers.gradleProperty("mcVersion").get().trim())
|
println(providers.gradleProperty("mcVersion").get().trim())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register("printPaperVersion") {
|
||||||
|
doLast {
|
||||||
|
println(project.version)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue