aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2022-03-04 09:41:03 +0000
committerShane Freeder <[email protected]>2022-03-04 09:41:03 +0000
commitb9f26bb1e9b6d528e1d92ba439362fe403924f80 (patch)
treeb9bc499a09eff3a3db067638a99a6a9613d0a600
parent719daa8bbf3848f11ed34937e5d8c2ae29117ea7 (diff)
downloadPaper-b9f26bb1e9b6d528e1d92ba439362fe403924f80.tar.gz
Paper-b9f26bb1e9b6d528e1d92ba439362fe403924f80.zip
Add printPaperVersion task
-rw-r--r--build.gradle.kts6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index dd82ff219f..bd947ed2a4 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -128,3 +128,9 @@ tasks.register("printMinecraftVersion") {
println(providers.gradleProperty("mcVersion").get().trim())
}
}
+
+tasks.register("printPaperVersion") {
+ doLast {
+ println(project.version)
+ }
+}