On 26 Jan 2012, at 11:54, k4rn4k wrote:

I'm trying to give the buildscript{ repo{ maven { credentials{ username }}}} the value of a project propertie but I get the error Could not find property
'generalUser' on root project ''.

I think this is because "buildscript" closure is evaluated before the
properties declaration. Does somebody know how could I change this
behaviour?

There is no way to.

You can't access anything from inside the buildscript block that is defined outside the buildscript block.

--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to