This is an example on how you can use RoboVM and Gradle to build a hybrid Java project that works on both iOS and Android