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

chore: unify build.gradle.kts

This commit is contained in:
Arnaud Roques 2023-10-05 19:55:48 +02:00
parent 50d1a1caa8
commit cb395b103a
5 changed files with 3 additions and 14 deletions

View File

@ -42,6 +42,7 @@ sourceSets {
}
resources {
srcDirs("build/sources/sjpp/java")
include("**/graphviz.dat")
include("**/*.png")
include("**/*.svg")
include("**/*.txt")

View File

@ -42,6 +42,7 @@ sourceSets {
}
resources {
srcDirs("build/sources/sjpp/java")
include("**/graphviz.dat")
include("**/*.png")
include("**/*.svg")
include("**/*.txt")

View File

@ -110,13 +110,6 @@ 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"))
}
}
}

View File

@ -110,13 +110,6 @@ val preprocessLicenceAntTask by tasks.registering() {
"header" to project.layout.buildDirectory.file("../gplv2-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"))
}
}
}

View File

@ -42,6 +42,7 @@ sourceSets {
}
resources {
srcDirs("build/sources/sjpp/java")
include("**/graphviz.dat")
include("**/*.png")
include("**/*.svg")
include("**/*.txt")