Look at https://github.com/LoyolaChicagoCode/clickcounter-android-scala to see how this is done in sbt. Then try to find instructions for doing the same in Gradle.