Hi All,
I want to be able to define a custom function in a build.gradle that
can be called from subprojects, but I'm not having much luck (it's an
ant task). Essentially I have a function that looks like this:
def run(String clazz){
ant.java(classname: clazz, fork: false,
classpath: "${sourceSets.main.runtimeClasspath.asPath}")
}
and want to call it from sub projects like this:
task doSomething <<{
...
run('foo.bar.baz.Main');
}
any ideas?
Thanks,
James
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email