Gradle project isolation

I’m looking to sonar gradle plugin (v7.2.3.7755) and I see it is reported as doing violations that prevent gradle isolated projects:

  • Project ‘:’ accesses Project.extensions on subprojects via allprojects {}
  • Project ‘:’ accesses Project.tasks on subprojects via allprojects {}

Hi,

Is this an Android project?

 
Ann

I have the same issue. This can happen in any Gradle project, even plain java, when you build with the new isolated projects feature: -Dorg.gradle.unsafe.isolated-projects=true

Please consider supporting it, it can speed up your project a lot if you have lots of modules, and in my case sonar is the only plugin that does not support it

Update: looks like this is already answered here: Sonar Gradle plugin should not use allprojects

Hey @emartynov and @StefanDukatIsta,

Are you still experience this issue with the latest version of the pluign?

Yeah its still an issue in 7.3.1.8318