grails / grails-gradle-plugin-archived

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add generated files along the test classpath?

rtaksas opened this issue · comments

Before compilation i have a custom task to generate a bunch of .java files into src/java/generated-sources which then get compiled into build/classes (using protobufs).

Everything compiles fine but when I run the test task (configured just for :unit phase right now) i get a ton of NoClassDefFoundErrors. I can't figure out how to add these files to the test classpath?

Please help me.