mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-12 04:09:48 +00:00
enry-java: publish fat jar without any classifiers in assembly task
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
@ -15,10 +15,11 @@ unmanagedClasspath in Runtime += baseDirectory.value / "shared"
|
|||||||
unmanagedClasspath in Compile += baseDirectory.value / "shared"
|
unmanagedClasspath in Compile += baseDirectory.value / "shared"
|
||||||
testOptions += Tests.Argument(TestFrameworks.JUnit)
|
testOptions += Tests.Argument(TestFrameworks.JUnit)
|
||||||
|
|
||||||
|
publishArtifact in (Compile, packageBin) := false
|
||||||
|
|
||||||
artifact in (Compile, assembly) := {
|
artifact in (Compile, assembly) := {
|
||||||
val art = (artifact in (Compile, assembly)).value
|
val art = (artifact in (Compile, assembly)).value
|
||||||
art.copy(`classifier` = Some("assembly"))
|
art.copy(`classifier` = None)
|
||||||
}
|
}
|
||||||
|
|
||||||
addArtifact(artifact in (Compile, assembly), assembly)
|
addArtifact(artifact in (Compile, assembly), assembly)
|
Reference in New Issue
Block a user