Revert Gradle version to 1.7 to bypass OSS build issue with Gradle 1.11.