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

Fix build.

This commit is contained in:
Cedric Beust 2017-04-05 16:44:00 -07:00
parent 0ba9efc022
commit 2e3ca3bb24

View file

@ -216,8 +216,8 @@ class PackagingPlugin @Inject constructor(val dependencyManager : DependencyMana
if (buildDirFile.exists()) {
if (config.includedFiles.isEmpty()) {
context.logger.log(project.name, 1, " Installing from $buildDir to ${config.libDir}")
val toDir = KFiles.makeDir(config.libDir)
context.logger.log(project.name, 1, " Installing from $buildDir to ${config.target}")
val toDir = KFiles.makeDir(config.target)
File(buildDir).copyRecursively(toDir, overwrite = true)
} else {
config.includedFiles.forEach { inf ->