Gradle 2 2 support

Try to fix Gradle 2.2 support (issue #106)