Skip to content

Commit 01aca61

Browse files
authored
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.
1 parent 1587c83 commit 01aca61

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

http-clients/lobby-client/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id 'java-library'
23
id("maven-publish")
34
}
45

@@ -13,6 +14,13 @@ dependencies {
1314
}
1415

1516
publishing {
17+
publications {
18+
maven(MavenPublication) {
19+
artifact(tasks.named(sourceSets.main.jarTaskName)) {
20+
extension 'jar'
21+
}
22+
}
23+
}
1624
repositories {
1725
maven {
1826
name = "GitHubPackages"

0 commit comments

Comments
 (0)