Android flavor dimensions

Hello I downloaded free community version of sonarqube.
Setup plugin in root build.gradle and included

subprojects {
    apply plugin: 'org.sonarqube' 
    sonarqube() {
        androidVariant "ukDebug"
    }
}

When then executing command to get results from the project to locally run Sonarqube I received following error

* What went wrong:
Could not determine the dependencies of task ':sonarqube'.
> Unable to find variant 'ukDebug' to use for SonarQube analysis. Candidates are: debug, release, minifiedDebug

Changingto debug produces following error

* What went wrong:
Could not determine the dependencies of task ':sonarqube'.
> Unable to find variant 'debug' to use for SonarQube analysis. Candidates are: nlDebug, noDebug, ukDebug, beDebug, deDebug

I tried to follow official documentation from here SonarScanner for Gradle | SonarQube Docs
Also this community post here Can't run for a specific flavor by using androidVariant

Could somebody please point out if I am missing something

Same issue here :pensive: Have you solved it?

Hello @Peter_Miklosko,

Thanks for your message and sorry for the late reply. From the error messages I can make an assumption that in different modules you have different flavors configured. Could you please share the full log and clarify that you see these error messages from different modules?

Could you please also share that part of your build.gradle file, where you configure your build variants and flavors?

Regards,
Margarita