Hello,

I tried this:

task initDbForIntegrationTest << {
  dependsOn: compileTestJava
  DbTestData td = new DbTestData();
  td.createDataForIntegrationTest()
}
DbTestData is resolved and imported by the IDE(A), however gradle says
"unable to resolve class" before any task could be run.
A kind of lazy behaviour/dynamic class loading would be needed not to try to
resolve task internals until dependency task has not been run. I do not know
much about groovy, that's why the question is here until I find something.

This is with version 0.8.
Thanks!
-- 
View this message in context: 
http://old.nabble.com/How-to-use-a-Java-class-from-build-script%2C-one-that-is-part-of-the-project--tp28852926p28852926.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to