mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Build file fix.
This commit is contained in:
parent
d01af588cd
commit
ca27a131ca
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ fun taskCopyVersionForWrapper(project: Project) : TaskResult {
|
||||||
val from = Paths.get("src/main/resources/kobalt.properties")
|
val from = Paths.get("src/main/resources/kobalt.properties")
|
||||||
val to = Paths.get("$toString/kobalt.properties")
|
val to = Paths.get("$toString/kobalt.properties")
|
||||||
// Only copy if necessary so we don't break incremental compilation
|
// Only copy if necessary so we don't break incremental compilation
|
||||||
if (from.toFile().readLines() != to.toFile().readLines()) {
|
if (! to.toFile().exists() || (from.toFile().readLines() != to.toFile().readLines())) {
|
||||||
Files.copy(from,
|
Files.copy(from,
|
||||||
to,
|
to,
|
||||||
StandardCopyOption.REPLACE_EXISTING)
|
StandardCopyOption.REPLACE_EXISTING)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue