Add ability to publish final jar locally

This commit is contained in:
Alexander Bezzubov
2017-08-11 09:55:22 +02:00
parent 0c60da0f48
commit b73364d147
3 changed files with 13 additions and 1 deletions

View File

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