Upgrade to JDK 8 compatibility

As of this commit, JDK 8 or better is required to compile or run against
ethereumj.
This commit is contained in:
Chris Beams 2014-12-27 02:36:47 +01:00
parent 18b0f6f52c
commit 366f6246ce
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
2 changed files with 6 additions and 2 deletions

View File

@ -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. Chat with us via [Gitter](https://gitter.im/ethereum/ethereumj) or [#ethereumj](webchat.freenode.net/?channels=ethereumj) on Freenode.
# Building from source # 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 # Usage
For complete details on downloading, building and using [etherumj-core](ethereumj-core) and [ethereumj-studio](ethereumj-studio), see their respective readme files. For complete details on downloading, building and using [etherumj-core](ethereumj-core) and [ethereumj-studio](ethereumj-studio), see their respective readme files.

View File

@ -7,7 +7,7 @@ allprojects {
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
sourceCompatibility = 1.7 sourceCompatibility = 1.8
group = 'org.ethereum' group = 'org.ethereum'
version = '0.7.15-SNAPSHOT' version = '0.7.15-SNAPSHOT'