Skip to content

Commit

Permalink
Fixed maven publishing issue by including javadoc and source
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakuan committed Dec 5, 2024
1 parent 93a6b50 commit 1bee271
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions epub4j-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ gversion {
}
project.compileJava.dependsOn(createVersionFile)

tasks.withType(Javadoc) {
options.addBooleanOption('Xdoclint:none', true)
options.addStringOption('sourcepath', '')
options.addBooleanOption('html5', true)
}

java {
withJavadocJar()
withSourcesJar()
}

signing {
sign publishing.publications
}
Expand Down

0 comments on commit 1bee271

Please sign in to comment.