Gradle error: Cannot add extension with name 'sonarRunner', as there is an extension already registered with that name

Ok, got it now…

In my case the build is run either in multi-project setup or as independent projects.

JM