Skip to content

Commit

Permalink
define all maven publication artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Aug 23, 2021
1 parent 838df5e commit c0edf89
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build.gradle
Expand Up @@ -223,13 +223,9 @@ task reobf {
}

publishing {
publications {
mavenJava(MavenPublication) {
artifact apiJar
artifact jar
artifact javadocJar
artifact deobfJar
artifact sourcesJar
publications { PublicationContainer publicationContainer ->
publicationContainer.register("maven", MavenPublication) { MavenPublication publication ->
publication.artifacts = [apiJar, jar, javadocJar, deobfJar, sourcesJar]
}
}
repositories {
Expand Down

0 comments on commit c0edf89

Please sign in to comment.