Skip to content

How to add SteemJ to your project

dez1337 edited this page Dec 3, 2017 · 6 revisions

This page shows several ways how to include SteemJ into your project.

TOC

Maven

If you use the Maven-assembly plugin. To add SteemJ to your Maven project simply add the following dependency in your pom.xml.

[...]
<dependency>
  <groupId>eu.bittrade.libs</groupId>
  <artifactId>steemj-core</artifactId>
  <version>0.4.3</version>
</dependency>
[...]

Back to TOC

Ivy

To add SteemJ to your Ivy project simply add the following dependency in your ivy.xml.

[...]
<dependency org="eu.bittrade.libs" name="steemj-core" rev="0.4.3" />
[...]

Back to TOC

Gradle

To add SteemJ to your Gradle project simply add the following dependency in your build.gradle.

[...]
compile 'eu.bittrade.libs:steemj-core:0.4.3'
[...]

Back to TOC

Scala

To add SteemJ to your Scala project simply add the following code to your project.

[...]
libraryDependencies += "eu.bittrade.libs" % "steemj-core" % "0.4.3"
[...]

Back to TOC

Groovy

To add SteemJ to your Groovy project the dependency manager Grape can be used. Simply add the @Grap annotation in to the class where you need SteemJ.

[...]
@Grab(group='eu.bittrade.libs', module='steemj-core', version='0.4.3')
[...]

Back to TOC

Leinigen

To add SteemJ to your Ivy project simply add the following dependency in your project.clj.

[...]
[eu.bittrade.libs/steemj-core "0.4.3"]
[...]

Back to TOC

Download

If you have a good reason to do not use a build management / dependency management tool, you can also download the JAR on your own and add it to the classpath. The JAR should be added to every single on the release page and can also be found on several Maven Reposirtory pages like mvnrepository.com.

Back to TOC