Was this the android studio generated gradle file? It seems like there is a lot of stuff in here we could get away without.