Skip to content

Commit

Permalink
Edits maven-publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicity188 committed Oct 16, 2024
1 parent cd834e1 commit 1fb6ee3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ subprojects {
testAnnotationProcessor("org.projectlombok:lombok:1.18.34")
}

java {
withSourcesJar()
withJavadocJar()
}

publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
artifact(tasks["sourcesJar"])
artifact(tasks["javadocJar"])
}
}
}
Expand Down

0 comments on commit 1fb6ee3

Please sign in to comment.