Where should the META-INF directory be in order for sbt to pick up custom configurations. I had this issue when trying to use the ServiceLoader and I was trying to create a custom services in META-INF/services
The META-INF folder will get automatically picked up by sbt if you put the folder in src/main/resources/
For Play application code the META-INF should be put inside the conf directory inside service/conf
I have verified this on my own application where I used it for putting META-INF/services/ file with the name of api.ImplementationClass in it and it worked with ServiceLoader.load
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With