Compilation fails when using BigDecimals in a Groovy class with the following output:
C:\...\Foo.java:[49,18] cannot find symbol
symbol : class BigDecimal
location: class org.foo.Foo
When the stubs are generated, the stubbed Java files do not contain an import for java.math.BigDecimal. I assume this is why compilation fails.