Make project compatible with Gradle