move dependencies to build.gradle and upgrade okhttp version