1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-25 06:17:33 +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 { resources {
srcDirs("build/sources/sjpp/java") srcDirs("build/sources/sjpp/java")
include("**/graphviz.dat")
include("**/*.png") include("**/*.png")
include("**/*.svg") include("**/*.svg")
include("**/*.txt") include("**/*.txt")

View File

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