I have a gradle project which requires two local jars as dependency. I am adding them using fileTree
implementation fileTree(dir: '..//libs', include: '*.jar')
The problem I am facing is , the dependent jar requires a property value from the application.yml file available in the main project. And I am getting this error, even though I have the property available in my application.yml file located in the resources folder.
java.lang.IllegalArgumentException: Could not resolve placeholder 'test.key' in value "${test.key}"
Is there any way to give the property file location to my dependent jar? Or any other ways to make this work?