Migration to Gradle

There were some dead repositories: I simply removed them from the list in order to success build.