mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-13 04:39:46 +00:00
Add ability to publish final jar locally
This commit is contained in:
@ -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!_**
|
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
|
Development
|
||||||
------------
|
------------
|
||||||
|
@ -32,4 +32,5 @@ make test
|
|||||||
make package
|
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"
|
unmanagedClasspath in Compile += baseDirectory.value / "shared"
|
||||||
testOptions += Tests.Argument(TestFrameworks.JUnit)
|
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