From 0d662c18eaac30072160664ec5000bc686c74a48 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sat, 26 Mar 2022 16:29:25 -0500 Subject: [PATCH] Test build number --- build.gradle | 10 ++++++++++ settings.gradle | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8bc5234..fe3d68f 100644 --- a/build.gradle +++ b/build.gradle @@ -41,6 +41,16 @@ group = "dev.plex" version = "0.10-SNAPSHOT" description = "Plex" +ext { + buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown" +} + +tasks.register('printProperties') { + doLast { + println buildNumber + } +} + shadowJar { archiveClassifier.set("") relocate "org.bstats", "dev.plex" diff --git a/settings.gradle b/settings.gradle index c242e87..642a692 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = 'Plex' +rootProject.name = 'Plex' \ No newline at end of file