mirror of https://github.com/sbt/sbt.git
Merge pull request #4894 from eed3si9n/wip/zipping
Fix java.util.zip.ZipException: duplicate entry
This commit is contained in:
commit
646e408adb
|
|
@ -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))
|
||||
()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ version := "0.2"
|
|||
mappings in (Compile, packageBin) ++= {
|
||||
val test = file("test")
|
||||
Seq(
|
||||
test -> "test1",
|
||||
test -> "test1",
|
||||
test -> "test2"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue