From b9f26bb1e9b6d528e1d92ba439362fe403924f80 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Fri, 4 Mar 2022 09:41:03 +0000 Subject: [PATCH] Add printPaperVersion task --- build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) 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) + } +}