Problem with the groovy plugin when compiling Groovy 2.0 classes

@CompileStatic // if commen this line then build is OK class MyBean { … }

My build.gradle

apply plugin: ‘java’ apply plugin: ‘groovy’ apply plugin: ‘eclipse’ … repositories {

mavenCentral()

mavenRepo url: ‘http://maven.springframework.org/milestone’ }

dependencies {

groovy ‘org.codehaus.groovy:groovy:2.0.0-rc-1’ }

Same problem with ‘groovy-all’?

Problem was fixed, thanks :slight_smile: