1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Directory bug.

This commit is contained in:
Cedric Beust 2015-12-15 07:38:55 +04:00
parent 380fafade2
commit 18b62f423d

View file

@ -53,7 +53,7 @@ public class JarUtils {
}
}
val includedFile = IncludedFile(From(source.path), To(""), listOf(IFileSpec.Glob("**")))
addSingleFile(directory, includedFile, outputStream, expandJarFiles)
addSingleFile(".", includedFile, outputStream, expandJarFiles)
} else {
if (expandJarFiles and source.name.endsWith(".jar")) {
log(2, "Writing contents of jar file ${source}")