From 01aca619f350baa296318c51a4aa2da14f5f17e9 Mon Sep 17 00:00:00 2001 From: Dan Van Atta Date: Mon, 29 Jul 2024 15:39:34 -0700 Subject: [PATCH] Lobby-client Jar build config: properly update gradle to publish jar file (#12797) When attempting to drop the shadow jar, we needed to add back in a 'publication' block. --- http-clients/lobby-client/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/http-clients/lobby-client/build.gradle b/http-clients/lobby-client/build.gradle index 1064461853..ec7d7aad4e 100644 --- a/http-clients/lobby-client/build.gradle +++ b/http-clients/lobby-client/build.gradle @@ -1,4 +1,5 @@ plugins { + id 'java-library' id("maven-publish") } @@ -13,6 +14,13 @@ dependencies { } publishing { + publications { + maven(MavenPublication) { + artifact(tasks.named(sourceSets.main.jarTaskName)) { + extension 'jar' + } + } + } repositories { maven { name = "GitHubPackages"