[ How to hook Grails before resolve dependency ]
In my code, Grails depends on another Maven project, I want to compile and install the maven project before Grails resolve dependency, how can I do that?
Answer 1
use scripts/_Events.groovy
:
eventCompileStart = {
projectCompiler.srcDirectories << "${path}/${to}/${your}/${project}".toString()
}