mirror of
https://github.com/octoleo/plantuml.git
synced 2025-01-02 22:50:20 +00:00
gradle pdfJar produces plantuml-pdf-<version>.jar
This commit is contained in:
parent
4b3683be83
commit
d582935e04
@ -116,3 +116,14 @@ signing {
|
|||||||
sign(publishing.publications["maven"])
|
sign(publishing.publications["maven"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.create("pdfJar", Jar::class) {
|
||||||
|
group = "build" // OR for example, "build"
|
||||||
|
description = "Assembles a jar containing dependencies to create PDFs."
|
||||||
|
manifest.attributes["Main-Class"] = "net.sourceforge.plantuml.Run"
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
val dependencies = configurations.runtimeClasspath.get().map(::zipTree)
|
||||||
|
from(dependencies)
|
||||||
|
with(tasks.jar.get())
|
||||||
|
archiveAppendix.set("pdf")
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user