CDI - Conflicting module versions

I’m getting this exception when my project depends on weld-se, cdi-unit and gradleApi().

groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.3.3 and you are trying to load version 2.1.8
dependencies {
    compile 'org.jboss.weld.se:weld-se:2.2.1.Final'
    compile 'org.codehaus.groovy:groovy:2.3.3'
    compile gradleApi()
    testCompile 'junit:junit:4.7'
    testCompile 'org.jglue.cdi-unit:cdi-unit:3.0.1'
}

Forcing groovy-all:2.3.3 for compile (or testCompile) doesn’t help.

Any ideas?