Implemented Gradle, fixed dependencies.