Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Send overwrite flag on copyWithTimestamp based on if the copyable is …
…a file or directory, vs always being false
  • Loading branch information
Joshua Soberg committed Nov 15, 2024
commit 8677e0868368cda608a6304d9327b61ab6a0d0da
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ abstract class AbstractKotlinSymbolProcessingExtension(
roundDir.walkTopDown().forEach {
val dst = File(options.javaOutputDir, File(it.path).toRelativeString(roundDir))
if (dst.isFile || !dst.exists()) {
copyWithTimestamp(it, dst, false)
copyWithTimestamp(it, dst, overwrite = dst.isFile)
}
}
}
Expand Down