Slackbot
04/25/2023, 3:33 PMVampire
04/25/2023, 3:49 PMSync
over Copy
.
It removes files it didn't copy there itself.
The preserve afair is just to exclude some files from this cleaning, but not to not overwrite files.Vampire
04/25/2023, 3:51 PMeachFile { ... }
closure where you check whether the target file exists and if so exclude()
it or something like that.Shaun Reich
04/25/2023, 3:58 PMShaun Reich
04/25/2023, 7:10 PMeachFile *{* file *->* file.exclude() *}*
build.gradle.kts:43:14: Type mismatch: inferred type is ([Error type: Cannot infer a lambda parameter type]) -> ??? but Closure<(raw) Any!>! was expected
Shaun Reich
04/25/2023, 8:17 PMShaun Reich
04/25/2023, 8:18 PMit
is invalid. it doesn't auto generate the it
like kotlin normally does?Vampire
04/25/2023, 8:38 PMShaun Reich
04/25/2023, 9:06 PM