RCB defeated Gujarat Titans by five wickets in Ahmedabad to secure their second consecutive Indian Premier League championship.