testcontainers-java
testcontainers-java copied to clipboard
Use an OS-appropriate location for the properties file
Uses directories-jvm to resolve the configuration directory location. See: https://github.com/dirs-dev/directories-jvm#introduction
The old $HOME/.testcontainers.properties is still preferred if it exists.
New example locations:
- Linux:
/home/myuser/.config/testcontainers/testcontainers.properties - Windows:
C:/Users/myuser/AppData/Roaming/testcontainers/config/testcontainers.properties - macOS:
/Users/myuser/Library/Application Support/testcontainers/testcontainers.properties