Enhancing to use with Gradle.