Skip to content

Commit

Permalink
Lobby-client Jar build config: properly update gradle to publish jar …
Browse files Browse the repository at this point in the history
…file (#12797)

When attempting to drop the shadow jar, we needed to add back in
a 'publication' block.
  • Loading branch information
DanVanAtta authored Jul 29, 2024
1 parent 1587c83 commit 01aca61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions http-clients/lobby-client/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id 'java-library'
id("maven-publish")
}

Expand All @@ -13,6 +14,13 @@ dependencies {
}

publishing {
publications {
maven(MavenPublication) {
artifact(tasks.named(sourceSets.main.jarTaskName)) {
extension 'jar'
}
}
}
repositories {
maven {
name = "GitHubPackages"
Expand Down

0 comments on commit 01aca61

Please sign in to comment.