I have an external jar added under global tasks (builScript) in my current module, i am calling a java class of that jar under gradle test task. The class basically loads spring context, the dependent spring config files are in not in the jar but they are under my current module test/resources dir.
How do i add my local config files to gradle class path so that the external jar refers the local config files when calling the class from gradle.
current module build.gradle
Add external jar as compile dependency.
Call java class which is in external jar
How to set my current test/resource files to external jar classpath so that the class refers these files while executing the class?