Migrated source code to Gradle.