diff options
author | Shane Freeder <[email protected]> | 2022-03-04 09:41:03 +0000 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2022-03-04 09:41:03 +0000 |
commit | b9f26bb1e9b6d528e1d92ba439362fe403924f80 (patch) | |
tree | b9bc499a09eff3a3db067638a99a6a9613d0a600 /build.gradle.kts | |
parent | 719daa8bbf3848f11ed34937e5d8c2ae29117ea7 (diff) | |
download | Paper-b9f26bb1e9b6d528e1d92ba439362fe403924f80.tar.gz Paper-b9f26bb1e9b6d528e1d92ba439362fe403924f80.zip |
Add printPaperVersion task
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 6 |
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) + } +} |