From 366f6246ce9e7d823ed83f64b1773d0131073596 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Sat, 27 Dec 2014 02:36:47 +0100 Subject: [PATCH] Upgrade to JDK 8 compatibility As of this commit, JDK 8 or better is required to compile or run against ethereumj. --- README.md | 6 +++++- build.gradle | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 047679e4..1944050e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,11 @@ The Ethereum protocol is under heavy development, thus so is this implementation Chat with us via [Gitter](https://gitter.im/ethereum/ethereumj) or [#ethereumj](webchat.freenode.net/?channels=ethereumj) on Freenode. # Building from source -Clone this repository and run `./gradlew build`. Import all sources into IntelliJ IDEA (14+) with `File->Import project` and point to the top-level `build.gradle` file. + + - Clone this repository and run `./gradlew build` (or at least `./gradlew antlr4` to generate sources). + - Import all sources into IntelliJ IDEA (14+) with `File->Import project` and point to the top-level `build.gradle` file. + - Make sure to set your language level in `File->Project Structure...` to JDK 8. + - Run `Build->Make Project`. When complete, there should be no errors. # Usage For complete details on downloading, building and using [etherumj-core](ethereumj-core) and [ethereumj-studio](ethereumj-studio), see their respective readme files. diff --git a/build.gradle b/build.gradle index de4fabb1..8808bd49 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ allprojects { subprojects { apply plugin: 'java' - sourceCompatibility = 1.7 + sourceCompatibility = 1.8 group = 'org.ethereum' version = '0.7.15-SNAPSHOT'