Merge pull request #98 from erizocosmico/fix/fat-jar

enry-java: publish fat jar without any classifiers in assembly task
This commit is contained in:
Alfredo Beaumont 2017-09-07 12:26:04 +02:00 committed by GitHub
commit e1b2326b22
2 changed files with 5 additions and 4 deletions

View File

@ -15,10 +15,11 @@ unmanagedClasspath in Runtime += baseDirectory.value / "shared"
unmanagedClasspath in Compile += baseDirectory.value / "shared"
testOptions += Tests.Argument(TestFrameworks.JUnit)
publishArtifact in (Compile, packageBin) := false
artifact in (Compile, assembly) := {
val art = (artifact in (Compile, assembly)).value
art.copy(`classifier` = Some("assembly"))
art.copy(`classifier` = None)
}
addArtifact(artifact in (Compile, assembly), assembly)