mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 14:13:07 -03:00
Add ability to publish final jar locally
This commit is contained in:
@ -32,4 +32,5 @@ make test
|
||||
make package
|
||||
```
|
||||
|
||||
Jar will be located in `./target/enry-java-assembly-X.X.X.jar`.
|
||||
Will build fatJar under `./target/enry-java-assembly-X.X.X.jar`.
|
||||
One can use `./sbt publish-local` to install enry-java dependency on local machine.
|
||||
|
@ -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)
|
Reference in New Issue
Block a user