Basic possibly not-working port to Gradle/Android Studio