Switch to gradle for keep alive.