I have a Java application that does something like:
public class MyApplication {
public static int main(String[] args) {
System.out.println(System.getProperty("my.property"));
}
}
How do I call this from Groovy such that the Groovy script sets the System property?