inside my dependency jar , is it overriding my Spring Boot Applications

i have an inside of dependency(was created by myself), when i run a gradle task to run integration tests from src/intTest , for some reason SpringBoot does not load from src/main/ , and fails to create datasource connection, and says unused property for spring.datasource.* attributes . Can this happen because i have an file inside my dependency jar?

As is not a Gradle-thing, you should maybe ask in some Spring Boot community about how it is handled?