Inject dynamic host IP address with Gradle

If you're developing an Android app which requires any kind of server you probably have to update the IP address of your local testing server every time you start developing. Since as developers we don't want to do things more than once, we need to automate that. Luckily with the…