How to add groovy ConfigSlurper dependency

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 ?

image

Hi,

Actually - no. You have to add you dependencies to build.gradle file or using Project properties - Advanced.

image

1 Like

Ok thanks. It’s a shame that IDEA does not add a dependency by itself in build.gradle, whereas it is able to do it for Maven in pom.xml.

We are working on it, will try to improve it in the future