From 1587c8378581fab2ea855eb0d1ec4c980288434e Mon Sep 17 00:00:00 2001 From: Dan Van Atta Date: Mon, 29 Jul 2024 15:30:03 -0700 Subject: [PATCH] Clean up http-clients build (possible fix for "still shadow jar") (#12796) - Remove unused shadowjar plugin and unused method in http-clients build. On previous builds, a full shadow jar has been published. This update will potentially "fix" that so we publish only a "shallow jar" instead. The transitive dependencies from a 'shadow-jar' are not desired. --- http-clients/lobby-client/build.gradle | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/http-clients/lobby-client/build.gradle b/http-clients/lobby-client/build.gradle index 6c3a3ae0cf..1064461853 100644 --- a/http-clients/lobby-client/build.gradle +++ b/http-clients/lobby-client/build.gradle @@ -1,6 +1,5 @@ plugins { id("maven-publish") - id "com.github.johnrengelman.shadow" version "8.1.1" } version = System.getenv("JAR_VERSION") @@ -13,16 +12,6 @@ dependencies { testImplementation project(":lib:test-common") } -def getGitCommitCount = { -> - def stdout = new ByteArrayOutputStream() - exec { - commandLine "git", "rev-list", "--count", "HEAD" - standardOutput = stdout - } - return stdout.toString().trim() -} - - publishing { repositories { maven {