[ATM][Build] Change build system to gradle.