Execution failed for task ‘:compileJava’. > invalid source release: 1.7

You can set the JDK Version used by gradle for the build by adding a “gradle.properties” file to your project. Add the following property:

org.gradle.java.home = <Path to the JDK you want to use for your project>

I agree with the previous answer that you also should check if the JDK and the sourceCompatibility match.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)