Im trying to integrate groovy in java with build tools as gradle, There are several examples with maven build, but with gradle its still missing.
I tried of adding plugin of groovy, but for compiler plugin like gmavenplus. I try to add it as dependency but not sure how i can add it in gradle
You can mix Java classes into a Groovy project.
gradle init
.source/main/groovy
folder.source/main/java
folder (but see the comment, below, from Jeff Scott Brown)src/test
folderExample src folder structure
Example source code
Groovy Source Code
Java Source Code
Example output