mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03:00
Add ability to publish final jar locally
This commit is contained in:
parent
0c60da0f48
commit
b73364d147
@ -114,6 +114,10 @@ $ enry --json
|
||||
|
||||
Note that even if enry's CLI is compatible with linguist's, its main point is that, contrary to linguist, **_enry doesn't need a git repository to work!_**
|
||||
|
||||
Java bindings
|
||||
------------
|
||||
|
||||
Generated Java binidings using a C shared library + JNI are located under [`./java`](https://github.com/src-d/enry/tree/master/java)
|
||||
|
||||
Development
|
||||
------------
|
||||
|
@ -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)
|
Loading…
x
Reference in New Issue
Block a user