Skip to content

Commit

Permalink
fix MavenCentral validation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed May 6, 2024
1 parent 19cc938 commit 8d999bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ publishing {
publications.configureEach {
this as MavenPublication
if (name == "pluginMaven") {
artifact(tasks.register("emptySources", Jar::class.java) {
archiveClassifier = "sources"
})
artifact(tasks.register("emptyDocs", Jar::class.java) {
archiveClassifier = "javadoc"
})

groupId = project.rootProject.group.toString()
version = project.rootProject.version.toString()
artifactId = project.name
Expand Down

0 comments on commit 8d999bb

Please sign in to comment.