my java project on java 11 (corretto-11) , we are using id ‘org.sonarqube’ version ‘3.3’ plugin
and below configuration for sonar cloud in gradle file
sonarqube {
properties {
property 'sonar.projectKey', 'xxxxx'
property 'sonar.organization', 'xxxx'
property 'sonar.host.url', 'https://sonarcloud.io'
property 'sonar.login', 'secret'
}
}
i’m getting below error
> Task :sonarqube FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0