You also might want to put your .idea directory and secrets in a .gitignore
You also might want to put your .idea directory and secrets in a .gitignore
In this particular case though - IntelliJ itself would have prompted him to add these files - so those are in fact shareable files
Note: I do know IntellJ purposely excludes workspace.xml , but these things should be handled much more explicitly and IDE should provide better conventions and guidance.
Reminds me of this jwz post (you have to copy and paste manually since he doesn't like HN as a referrer: https://www.jwz.org/blog/2008/02/looking-forward-into-the-pa... ).
https://blog.mozilla.org/security/2018/01/31/preventing-data...
I wasn't planning on sharing the code at first so I probably didn't give it as critical an eye as I should have. This was also a learning project for me to try out Kotlin so I'm sure there are a million things others would do far better.
Instead I just create a .env file and put them there. It's a bit more boilerplate but it is worth it when I don't need to decide between keeping secrets and having code history before publishing. And env vars are supported everywhere afaik.