Move project to build with Gradle