I'm working on an Android project with Eclipse and I use a git repository with EGit. I have data (in my case two strings, OAuth key and secret) that I need in my project, but I don't want it to be pushed to the git repository.
My first thought was to define the strings as compiler parameter, as the project settings are not included in the git repository. I'm used to doing this in C/C++ and it is no problem in Eclipse, but in the Java/Android project this option seems to be missing.
So, how do you set up sensitive data that is used in a java project and is not pushed to a code repository along with the rest of the code?