The "Invalid source release 1.7" error means that the version of Java being used by Gradle for compilation is lower than the required version. In this case, the code is written for Java 7, but the version being used for compilation by Gradle is lower than Java 7. This error can be resolved by upgrading the version of Java being used by Gradle to Java 7 or higher.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-06-16 11:00:00 +0000
Seen: 11 times
Last updated: Jun 17 '22