Hello Groovy devs

I am trying to understand how to do this with the Groovy Compiler


   - I have say 20 files in my project
   - I know I have to compile just one of those files
   - This one file imports other files (maybe 3 and those 3 import another
   2 lets say). But not all 20 files are used
   - Lets assume I dont do any reflection and everything is defined
   explicitly

How do I get the compiler to just compile the files that are needed and
leave out the ones that are not needed. Essentially tree-shaking.

regards
Saravanan

Reply via email to