Gradle build sonarqube

i am using gradle build sonarqube and it’s picking up some gradle version 5 during the build on snarquebe which causing the build failure i want to know how it can be updated here is the error which i am getting

i am using circle ci for CI/CD

Welcome to Gradle 5.5.1!

Here are the highlights of this release:

  • Kickstart Gradle plugin development with gradle init
  • Distribute organization-wide Gradle properties in custom Gradle distributions
  • Transform dependency artifacts on resolution

For more details see https://docs.gradle.org/5.5.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘/home/circleci/java/build.gradle’ line: 2

  • What went wrong:
    An exception occurred applying plugin request [id: ‘org.springframework.boot’, version: ‘2.4.0-M2’, artifact: ‘org.springframework.boot:spring-boot-gradle-plugin:2.4.0-M2’]

Failed to apply plugin [id ‘org.springframework.boot’]
Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later). The current version is Gradle 5.5.1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s

Exited with code exit status 1
CircleCI received exit code 1

Hi,

Welcome to the community!

This problem appears to be unrelated to SonarQube analysis. I don’t think we can help you here.

 
:woman_shrugging:
Ann