Added compile and generateStubs so groovy classes are included in jar;
also added groovy and spock dependencies since they are needed for
compiling the stub.