Execution failed for task ‘:compileJava’. > invalid source release: 11
To resolve Execution failed for task ‘:compileJava’. > invalid source release:11 error, we need to check if gradle is referencing the correct version of java. Solution 1. Set JDK version…