[GRADLE-3319] PlatformScalaCompile fails when building classes using Java 8 features Created: 13/Jul/15 Updated: 20/Jul/15 Resolved: 20/Jul/15 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 2.5 |
Fix Version/s: | 2.6-rc-1 |
Type: | Bug | ||
Reporter: | Gary Hale | Assignee: | Gary Hale |
Resolution: | Fixed | Votes: | 0 |
Description |
Forum topic: https://discuss.gradle.org/t/play-plugin-cant-handle-java-8-source-files/10556 Using Java 8 features in a play project causes the following error: $ gradle runPlayBinary FAILURE: Build failed with an exception.
BUILD FAILED gradle runPlayBinary |
Comments |
Comment by Gary Hale [ 13/Jul/15 ] |
Looks to be related to the version of sbt libraries pulled in by the Zinc compiler (v0.3.0). Upgrading Zinc to the latest (0.3.7) seems to fix the issue. |
Comment by Szabolcs Berecz [ 13/Jul/15 ] |
Is it possible to change the Zinc compiler version without a new Gradle release, or is it hard-coded? |
Comment by Gary Hale [ 13/Jul/15 ] |
Unfortunately, there isn't any way at the moment (which is unfortunate). The version has been updated and should be in the next nightly build. |