1Foo.groovy with class Foo will create a recorder class 1Foo$_CLR3_0_0... which is not legal. Similarly Foo-bar.groovy -> Foo-bar$_CLR3_0_0