Sonarqube - Android pipeline error

Could you please help with the below errors with Android pipelines please.

Gradle: -

FAILURE: Build failed with an exception.

  • What went wrong:

A problem was found with the configuration of task ‘:sonarqube’ (type ‘SonarQubeTask’).

  • In plugin ‘org.sonarqube’ type ‘org.sonarqube.gradle.SonarQubeTask’ property ‘pluginVersion’ is private and annotated with Internal.

Reason: Annotations on private getters are ignored.

Regarding 1, have now reverted changes to detekt and fail fast as well as updated the Gradle task as suggested. Now getting the below error. Could you please suggest.

FAILURE: Build failed with an exception.

  • What went wrong:

A problem was found with the configuration of task ‘:sonarqube’ (type ‘SonarQubeTask’).

  • In plugin ‘org.sonarqube’ type ‘org.sonarqube.gradle.SonarQubeTask’ property ‘pluginVersion’ is private and annotated with Internal.

Reason: Annotations on private getters are ignored.

Hi,

Welcome to the community!

What version of the SonarScanner for Gradle are you using?

 
Ann

HI Ann,

We are using SonarQubeGradlePluginVersion 2.6.1

Hi,

The current version is 4.4.1.3373.

Can you upgrade and try again?

On that topic, what’s your version of SonarQube?

 
Ann

HI Ann,

SonarQube version is Version 20230812.1

Hi,

Could you check your SonarQube page footer for the version?

 
Thx,
Ann