I have following folder structure in my codebase and my goal is to create a fatJar that will include test classes and the resources folder under src/test/. I tried bunch of stuff but to no availability so if anyone has magic recipe to do this, it would be helpful. I am new to gradle so I might be overlooking stuff here so please point me to place where I can find on how to do it.
api |___src |___main |___java |___resources |___test |___java |___resources
Results should be:
- fatJar that includes src/main/java, src/test/java and src/test/resources (preserving folder structure)