Application.properties inside my dependency jar , is it overriding my Spring Boot Applications application.properties?

i have an application.properties 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 application.properties from src/main/application.properties , and fails to create datasource connection, and says unused property for spring.datasource.* attributes . Can this happen because i have an application.properties file inside my dependency jar?

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