I have a text file in my project and need to read its contents:
private final static String SOURCE_FILE = "C:/Project/resources/Source.txt";
Is it possible to use an IntelliJ variable?
private final static String SOURCE_FILE = "${ProjectDir}/resources/Source.txt";
I want to avoid hardcoding a path in my code.