We have discussed providing support for some type of launcher plugin, but you
can implement a basic launching task very easily yourself:
task run << { ant.java(dir:'runDir', classname:'my.main.class', fork:true,
classpath:configurations.runtime.asPath) }
Kimble wrote:
Why are there no 'run' task in the Java or Groovy plugin? It would be nice to
define the project's main class in the build.gradle file and run the project
similar to Maven's exec:java.
-----
- Have a nice day!
--
Steve Appling
Automated Logic Research Team
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email