1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00

Not necessary.

This commit is contained in:
Cedric Beust 2017-04-06 09:43:16 -07:00
parent 43338c2946
commit 03d4ca3861

View file

@ -221,7 +221,7 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
File(buildDir).copyRecursively(toDir, overwrite = true)
} else {
// Delete all target directories
val targetDirs = config.includedFiles.map { File(it.to) }.distinct().forEach { targetFile ->
config.includedFiles.map { File(it.to) }.distinct().forEach { targetFile ->
val isFile = targetFile.isFile
context.logger.log(project.name, 2, " Deleting target dir $targetFile")
targetFile.deleteRecursively()