Transition to Gradle. (WIP)