Skip to content

Commit

Permalink
Merge pull request #76 from emeraldpay/fix/maven-publish-error
Browse files Browse the repository at this point in the history
  • Loading branch information
splix authored Mar 18, 2024
2 parents 84737ed + 4cb5dbc commit a7c9373
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,13 @@ subprojects {
}
}

task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
java {
withJavadocJar()
withSourcesJar()
}

task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier = 'javadoc'
from javadoc.destinationDir
javadoc {
options.addBooleanOption('html5', true)
}

artifacts {
Expand All @@ -132,12 +131,6 @@ subprojects {
publications {
EtherJarPublication(MavenPublication) {
from components.java
artifact("sourcesJar") {
classifier "sources"
}
artifact("javadocJar") {
classifier "javadoc"
}

groupId project.group
artifactId project.name
Expand Down

0 comments on commit a7c9373

Please sign in to comment.