Sounds as if you had this somewhere in your code:

sonar = ...

when it should be:

sonar { ... }

or:

sonar.foo = ...

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw

On 10.10.2011, at 14:19, Rob Kirkbride wrote:

> The only remaining issue I've got now is that it's a multi project build and 
> I get the following error :
> 
> Cause: There's an extension registered with name 'sonar'. You should not 
> reassign it via a property setter.
> 
> Basically each build.gradle has a
> apply plugin : 'sonar'
> apply from :  'http://<ip-addr>/our_sonar_settings.gradle'
> 
> I guess it's objecting to the fact I'm setting the sonar settings again? If 
> so, can it say only apply the settings if not already done?
> 
> Rob
> 


Reply via email to