75443aaa13
See updated ethereumj-studio/README.md for details. Note that this commit removes the `build-post-package.xml` ant file (for now) to simplify the Gradle arrangement. This functionality can be re-introduced later and more simply using Gradle's native DSL. In the meantime, both the -core and -studio projects can be run using `gradle run` or run as executable jars by running `gradle shadowJar` followed by the usual `java -jar` execution of the resulting `-all` jar file found in each project's respective `build/libs` directory. |
||
---|---|---|
.. | ||
src | ||
README.md | ||
bintray-publish-version.xml | ||
build.gradle | ||
track-untrack-local.bat |
README.md
ethereum-core
Include ethereum-core in your project
- Add http://dl.bintray.com/ethereum/maven as a repository to your build script
- Add a dependency on
org.ethereum:ethereumj:$version
, where$version
is one of those listed at https://bintray.com/ethereum/maven/org.ethereum/view
Examples
See ethereumj-studio.
Build from source
Compile, test and package
Run ../gradlew build
.
- find jar artifacts at
build/libs
- find unit test and code coverage reports at
build/reports
Run an ethereum node
- run
../gradlew run
, or - build a standalone executable jar with
../gradlew shadow
and execute the-all
jar inbuild/libs
usingjava -jar [jarfile]
.
Import sources into IntelliJ IDEA
Use IDEA 14 or better and import project based on Gradle sources.
Note that in order to build the project without errors in IDEA, you will need to run gradle antlr4
manually.
Install artifacts into your local ~/.m2
repository
Run ../gradlew install
.
Publish ethereumj-core builds
TODO: integrate bintray gradle plugin