Skip to content

Commit 1bee271

Browse files
committed
Fixed maven publishing issue by including javadoc and source
1 parent 93a6b50 commit 1bee271

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

epub4j-core/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ gversion {
4343
}
4444
project.compileJava.dependsOn(createVersionFile)
4545

46+
tasks.withType(Javadoc) {
47+
options.addBooleanOption('Xdoclint:none', true)
48+
options.addStringOption('sourcepath', '')
49+
options.addBooleanOption('html5', true)
50+
}
51+
52+
java {
53+
withJavadocJar()
54+
withSourcesJar()
55+
}
56+
4657
signing {
4758
sign publishing.publications
4859
}

0 commit comments

Comments
 (0)