Ok thanks to both of you, taht will certainly help.
Another question, while writing our new build.gradle, I wanted to use ConfigSlurper, so in IDEA I had to add groovy-all-2.4.12.jar in the project classpath => will it be overriden by CUBA at some point ?