Skip to content

Commit

Permalink
Update for Gitlab Maven Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed May 12, 2021
1 parent 8288cbf commit a2457cc
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,34 @@ A Bitcoin JSON-RPC client (base class), and other components used by OmniJ are i

=== OmniJ Maven Artifacts

Available on https://gitlab.com/ConsensusJ/consensusj/-/packages[Gitlab.com].

WARNING: These binaries have not been audited. Use only on TestNet or RegTest.

Although the API is changing, binary packages are available on https://gitlab.com/OmniLayer/OmniJ/-/packages[Gitlab.com]. You can download JARs or use the provided Maven coordinates to link to them directly from your `pom.xml` or `build.gradle`.

==== Maven

Add the following to your `pom.xml`:

[source]
----
<repositories>
<repository>
<id>omnij-gitlab-maven</id>
<url>https://gitlab.com/api/v4/projects/26583853/packages/maven</url>
</repository>
</repositories>
----

==== Gradle

Add the following to the `repositories` section of your `build.gradle`:

[source]
----
maven { url 'https://gitlab.com/api/v4/projects/26583853/packages/maven' }
----


=== Building OmniJ

The only prerequisite for building OmniJ is having Java JDK 8 or later installed. All other prerequisites are downloaded automatically by the http://gradle.org/docs/current/userguide/gradle_wrapper.html[Gradle Wrapper] script.
Expand Down

0 comments on commit a2457cc

Please sign in to comment.