1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-02 08:30:49 +00:00

pdf optional dependencies

This commit is contained in:
soloturn 2022-02-13 00:34:33 +01:00
parent 6fe6a4c988
commit 858903fec3

View File

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