From a0ac58f0b5d782019d76e1be76c8b31b8224a480 Mon Sep 17 00:00:00 2001 From: Gravita Date: Thu, 22 Dec 2022 19:11:11 +0700 Subject: [PATCH] [FEATURE] printExperimentalBranch info --- .../java/pro/gravit/launchserver/LaunchServerStarter.java | 5 ++++- LaunchServer/src/main/resources/experimental-build.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/LaunchServerStarter.java b/LaunchServer/src/main/java/pro/gravit/launchserver/LaunchServerStarter.java index 5e058486..ec8d5479 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/LaunchServerStarter.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/LaunchServerStarter.java @@ -224,12 +224,15 @@ private static void printExperimentalBranch() { } logger.warn("This is experimental build. Please do not use this in production"); logger.warn("Experimental features: [{}]", String.join(",", info.features)); + for(var e : info.info) { + logger.warn(e); + } } catch (Throwable e) { logger.warn("Build information not found"); } } - record ExperimentalBuild(List features) { + record ExperimentalBuild(List features, List info) { } diff --git a/LaunchServer/src/main/resources/experimental-build.json b/LaunchServer/src/main/resources/experimental-build.json index 6f281e40..ab148d00 100644 --- a/LaunchServer/src/main/resources/experimental-build.json +++ b/LaunchServer/src/main/resources/experimental-build.json @@ -1,3 +1,4 @@ { - "features": [] + "features": [], + "info": [] } \ No newline at end of file