Russel Winder wrote:
On Fri, 2009-03-27 at 16:28 +0000, Russel Winder wrote:

Or perhaps there is a way of loading a jar in settings.gradle so it can
be used in build.gradle?

I tried having:

addFlatDirResolver ( 'CoberturaPlugin' , System.properties.'user.home' + 
'/lib/Java/gradleCoberturaPlugin/jar' )
dependencies ( ':gradle-cobertura-plugin:0.1' )

in the settings.gradle file, but I still get an error on the line:

usePlugin ( org.gradle.api.plugins.cobertura.CoberturaPlugin )

in build.gradle:

Cause: Could not find property 'org' on root project 'ADS'.


You may have (and will eventually) run into http://jira.codehaus.org/browse/GRADLE-413

Try rebuilding your cached build file (gradle -C rebuild in trunk, or you can simply delete the .gradle dir


Adam

Reply via email to