Skip to content

Commit b05b8bd

Browse files
committed
Fix artifacts
1 parent bb4fe38 commit b05b8bd

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

library/build.gradle.kts

+9-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ java {
2020
withJavadocJar()
2121
}
2222

23-
// Add the shadowJar to the artifacts
24-
artifacts {
25-
archives("shadowJar")
23+
// Maven publishing for Jitpack
24+
publishing {
25+
publications {
26+
create<MavenPublication>("maven") {
27+
groupId = "com.github.srnyx"
28+
artifact(tasks["shadowJar"])
29+
artifact(tasks["javadocJar"])
30+
}
31+
}
2632
}

0 commit comments

Comments
 (0)