Posts Tagged ‘Groovy (programming language)’

The first step in using gradle as your build system is to realize that you can have blank main/java, main/groovy, test/java, test/groovy folders in your src path. This way you never have to adjust your project moving files and such as yo just declare some new source paths that match what your IDE setup as the project.

The trick is to enable the underlying plugins before the main project one. For example, for the Grails plugin you enable java and groovy before that plugin and than you can set customized source paths for java and groovy according to how your IDE sets up  the typical grails project.

Enhanced by Zemanta