Merge pull request #4894 from eed3si9n/wip/zipping

Fix java.util.zip.ZipException: duplicate entry
This commit is contained in:
eugene yokota 2019-07-23 10:19:40 -04:00 committed by GitHub
commit 646e408adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,7 @@ object Package {
}
val inputFiles = conf.sources.map(_._1).toSet
val inputs = conf.sources :+: lastModified(inputFiles) :+: manifest :+: HNil
val inputs = conf.sources.distinct :+: lastModified(inputFiles) :+: manifest :+: HNil
cachedMakeJar(inputs)(() => exists(conf.jar))
()
}

View File

@ -5,6 +5,7 @@ version := "0.2"
mappings in (Compile, packageBin) ++= {
val test = file("test")
Seq(
test -> "test1",
test -> "test1",
test -> "test2"
)