Added Gradle support, hopefully tests by next weekend