mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +00:00
fix: Adds copy task for graphviz.dat to epl build
This commit is contained in:
parent
4b58055b9f
commit
8b9f40d63b
@ -41,7 +41,7 @@ sourceSets {
|
|||||||
srcDirs("build/generated/sjpp")
|
srcDirs("build/generated/sjpp")
|
||||||
}
|
}
|
||||||
resources {
|
resources {
|
||||||
srcDirs("build/generated/sjpp")
|
srcDirs("build/generated/sjpp", "build/copiedResources")
|
||||||
include("**/graphviz.dat")
|
include("**/graphviz.dat")
|
||||||
include("**/*.png")
|
include("**/*.png")
|
||||||
include("**/*.svg")
|
include("**/*.svg")
|
||||||
@ -110,6 +110,13 @@ val preprocessLicenceAntTask by tasks.registering() {
|
|||||||
"header" to project.layout.buildDirectory.file("../epl-license.txt").get().asFile.absolutePath
|
"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)
|
dependsOn(preprocessLicenceAntTask)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications.create<MavenPublication>("maven") {
|
publications.create<MavenPublication>("maven") {
|
||||||
from(components["java"])
|
from(components["java"])
|
||||||
|
Loading…
Reference in New Issue
Block a user