How can you print the classpath from a plugin class? Trouble loading properties file from classpath in plugin class

Was your own attempt to print the file contents outside the ‘Environment’ class successful? Have you tried to use ‘getClass().getClassLoader()’ instead of ‘Thread.currentThread().getContextClassLoader()’ inside the ‘Environment’ class? If this doesn’t help, I’d recommend to check the class loaders in the debugger (e.g. ‘gradle --stop; gradle build --daemon -Dorg.gradle.debug=true’, then connect an external debugger on the port printed to std out).