Hello Adam,

>>  2) how do I use the runtime
>> dependencies to set up a classpath and execute a java process?  In
>> other words, how do I set up a "runMyApp" gradle task?
> You could use the Ant java task. For example:
>
> task runMyApp {
>    dependsOn sourceSets.main.runtimeClasspath
>    doFirst {
>        ant.java(classname: 'MyMainClass', classpath:
> sourceSets.main.runtimeClasspath.asPath, fork: true)
>    }
> }
>
Could you please explain what does this line do:
"dependsOn sourceSets.main.runtimeClasspath"
?
What does it mean to "depend on a source set" ?

-- 
Regards / Pozdrawiam
Tomek Kaczanowski

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

    http://xircles.codehaus.org/manage_email


Reply via email to