Gradle conversion

Get the app running and tests doing stuff again.