From a9bcb9deed6c0f18381c16c10351874dce25cf10 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) + } +}