Using TestUtil.getSrcDir() in production code? If you are *congratulations*, your binary now has *junit* and other testing cooties.
At the very least convert it to:
Runfiles.getRunfilesDir();
Which pulls in a much lighter set of dependencies.
Of course if all you need to do is read a file from the classpath you're much better off just doing something like:
Resources.toString(Resources.getResource(MyClass.class, CONFIG_FILE), Charsets.UTF_8);
while adding something like this to your BUILD file target:
resources = glob([*.config])
#googplus