Problem with the groovy plugin when compiling Groovy 2.0 classes


(Andrey Bloschetsov) #1

@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’ }


(Peter Niederwieser) #2

Same problem with ‘groovy-all’?


(Andrey Bloschetsov) #3

Problem was fixed, thanks :slight_smile: