1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2017-03-14 18:40:07 -07:00
parent a0ce7498e3
commit 5000368d64

View file

@ -43,7 +43,7 @@ class JarGenerator @Inject constructor(val dependencyManager: DependencyManager)
} }
} else { } else {
kobaltLog(2, "Directory $fromPath doesn't exist, not including it in the jar") kobaltLog(2, " Directory $fromPath doesn't exist, not including it in the jar")
} }
} }
if (includedSpecs.size > 0) { if (includedSpecs.size > 0) {
@ -97,8 +97,6 @@ class JarGenerator @Inject constructor(val dependencyManager: DependencyManager)
// If fatJar is true, add all the transitive dependencies as well: compile, runtime and dependent projects // If fatJar is true, add all the transitive dependencies as well: compile, runtime and dependent projects
// //
if (jar.fatJar) { if (jar.fatJar) {
context.logger.log(project.name, 2, "Finding included files for fat jar")
val seen = hashSetOf<String>() val seen = hashSetOf<String>()
@Suppress("UNCHECKED_CAST") @Suppress("UNCHECKED_CAST")
val allDependencies = project.compileDependencies + project.compileRuntimeDependencies + val allDependencies = project.compileDependencies + project.compileRuntimeDependencies +