Update to Gradle 2.2.1 and fix errors caused by SpongeAPI updates