How to externalise the Base URL in Retrofit for Android

You have an Android app now that are working fine using Retrofit. You are trying to automate the build for testing and production release…