settings.txt to the root of your project and use this code to load it:
Properties properites = new Properties();
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
InputStream is = classLoader.getResourceAsStream("/settings.txt");
properties.load(is);