1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-22 13:05:09 +00:00

Merge branch 'plantuml:master' into PatchBranch

This commit is contained in:
The-Lum 2023-09-08 12:37:48 +02:00 committed by GitHub
commit ecc0ad9020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ sourceSets {
srcDirs("build/generated/sjpp")
}
resources {
srcDirs("build/generated/sjpp")
srcDirs("build/generated/sjpp", "build/copiedResources")
include("**/graphviz.dat")
include("**/*.png")
include("**/*.svg")
@ -110,6 +110,13 @@ val preprocessLicenceAntTask by tasks.registering() {
"header" to project.layout.buildDirectory.file("../epl-license.txt").get().asFile.absolutePath
)
}
project.copy {
includeEmptyDirs = false
from(project.layout.buildDirectory.dir("sources/sjpp/java")) {
include("**/graphviz.dat")
}
into(project.layout.buildDirectory.dir("copiedResources"))
}
}
}
@ -125,7 +132,6 @@ tasks.named("sourcesJar"){
dependsOn(preprocessLicenceAntTask)
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])