mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Add printPaperVersion task
This commit is contained in:
parent
719daa8bbf
commit
b9f26bb1e9
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