Posted July 4, 201510 yr Hello, i tried to build my mod using Forge Gradle but got this error. I tried to add these lines to build.gradle targetCompatibility = '1.8' sourceCompatibility = '1.8' , but it didn't help. Is there any way to solve this problem? My gradle version is: > gradlew --version ------------------------------------------------------------ Gradle 2.0 ------------------------------------------------------------ Build time: 2014-07-01 07:45:34 UTC Build number: none Revision: b6ead6fa452dfdadec484059191eb641d817226c Groovy: 2.3.3 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 JVM: 1.8.0_45 (Oracle Corporation 25.45-b02) OS: Windows 7 6.1 amd64
July 4, 201510 yr Correct me if I am wrong, but minecraft isnt coded in 1.8, so you cant use lambda expressions.
July 4, 201510 yr Author Correct me if I am wrong, but minecraft isnt coded in 1.8, so you cant use lambda expressions. But lambdas a fully working at the development eclipse environment. This error happens only at build time
July 4, 201510 yr Author In log gradle says "(use -source 8 or higher to enable lambda expressions)" doesn't "-source 8" an argument? Where can i specify it?
July 4, 201510 yr Author '1.8' is something else than 1.8. The first one is a String, the 2nd one isn't. i removed brackets but it didn't help
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.