pdf optional dependencies

This commit is contained in:
soloturn 2022-02-13 00:34:33 +01:00
parent 6fe6a4c988
commit 858903fec3
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,9 @@ description = "PlantUML"
java {
withSourcesJar()
withJavadocJar()
registerFeature("pdf") {
usingSourceSet(sourceSets["main"])
}
}
dependencies {
@ -25,6 +28,8 @@ dependencies {
testImplementation("org.assertj:assertj-core:3.22.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
testImplementation("org.scilab.forge:jlatexmath:1.0.7")
"pdfRuntimeOnly"("org.apache.xmlgraphics:fop:2.6")
"pdfRuntimeOnly"("org.apache.xmlgraphics:batik-all:1.14")
}
repositories {