Add printPaperVersion task

This commit is contained in:
Shane Freeder 2022-03-04 09:41:03 +00:00
parent 719daa8bbf
commit b9f26bb1e9
No known key found for this signature in database
GPG key ID: A3F61EA5A085289C

View file

@ -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)
}
}