Skip to content

Commit

Permalink
fix copy task
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Aug 13, 2024
1 parent 1c8cf9a commit 5d5e31f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ abstract class CopySekretNativeBinaryTask : DefaultTask() {

private fun copyFileFromTo(from: String, dest: File) {
fileSystem.copy {
from(File(from))
into(dest.mkdirsSafely())
from(from)
into(dest.also { it.mkdirsSafely() })
exclude("**/*.h", "**/*.def")
}
}
Expand Down

0 comments on commit 5d5e31f

Please sign in to comment.