ethereumj-personal/ethereumj-core
Chris Beams f845a3b751
Eliminate dependency on antlr4 Maven plugin
After porting the build from Maven to Gradle (see prior commits), the
org.ethereum.serpent.ParserGenerator class is no longer necessary as the
configuration of the antlr compiler that happened in this class now
happens directly in build.gradle. This class is thus removed in this
commit.

The plexus FileUtils class introduced by the antlr4 Maven plugin had
also been used in several locations in the codebase, probably just for
reasons of convenience. These uses have been replaced with Spring's
FileSystemUtils in order to allow for dropping the dependency on the
antlr4 Maven plugin entirely.
2014-12-26 21:49:01 +01:00
..
gradle/wrapper Generate Gradle wrapper 2014-12-26 21:48:59 +01:00
src Eliminate dependency on antlr4 Maven plugin 2014-12-26 21:49:01 +01:00
README.md Introduce src/gen/java for generated sources 2014-12-26 21:49:00 +01:00
bintray-publish-version.xml Apply basic formatting 2014-12-26 11:22:44 +01:00
build.gradle Eliminate dependency on antlr4 Maven plugin 2014-12-26 21:49:01 +01:00
gradlew Generate Gradle wrapper 2014-12-26 21:48:59 +01:00
gradlew.bat Generate Gradle wrapper 2014-12-26 21:48:59 +01:00
track-untrack-local.bat Strip trailing whitespace 2014-12-26 09:45:14 +01:00

README.md

ethereum-core

Include ethereum-core in your project

  1. Add http://dl.bintray.com/ethereum/maven as a repository to your build script
  2. 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 in build/libs using java -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.

Publish ethereumj-core builds

TODO: integrate bintray gradle plugin