mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Fix IncludedFile bugs.
This commit is contained in:
parent
e9bcad4735
commit
f8a6439878
2 changed files with 14 additions and 9 deletions
|
@ -261,7 +261,8 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
|
|||
val lastModified = output.lastModified()
|
||||
includedFiles.forEach { root ->
|
||||
val allFiles = root.allFromFiles(directory)
|
||||
allFiles.forEach { file ->
|
||||
allFiles.forEach { relFile ->
|
||||
val file = File(KFiles.joinDir(directory, root.from, relFile.path))
|
||||
if (file.isFile) {
|
||||
if (file.lastModified() > lastModified) {
|
||||
log(2, " Outdated $file and $output "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue