I need to read properties file located inside resources folder of buildSrc special module to create kotlin object which will be accessible by other project modules. I tried to put this properties file
But during assembling of modules I get Exception file not found on the line load()
So 2 questions:
After trying different variants I have found 100% stable and working variant - instead of reading a properties file, parsing it and validating input - just use kotlin objects as ready to use configuration! With this approach the problem of a current folder and accessibility of resources is gone which is what I needed.