<How to make @SpringBootTest use application.prope...
# stackoverflow
r
How to make @SpringBootTest use application.properties from external config folder (inside project root)? I have a multi-module Spring Boot Gradle project (Kotlin) with the following directory structure. root |- domain (Module containing entities and interfaces) |- application (Spring boot Kotlin application) |- src/main |- kotlin (app sources) |- resources |- application.properties (default config) |- src/test/kotlin/long/package/name/ApplicationTests.kt |- build.gradle.kts (and also gradle folder) |- config |- application.properties (added in gitignore,...