When creating a java7 / groovy2 mixed project in maven or gradle, is there any reason to compile first with javac and then groovyc, just letting groovyc handle all this?
I started compiling them separately and in my trees (src / main / java and src / main / groovy), as practice shows. However, since java and groovy are used to solve the same problem and therefore are mixed, I am now inclined to dump all the source code in src / main / groovy and let the groovy compiler handle both .java and. groovy files. This project seems to make tracking the source tree easier. Are there any disadvantages?
source
share