Credit: Dimitrios Kambouris/WireImage for Tommy Hilfiger


Jennifer Lopez is getting $12 million to serve as an American Idol judge next season, a source tells

On Monday, a source told Us that Lopez's deal was set.

After a long negotiation process, "it ended up working out and they have a good agreement," the source said.

She joins longtime Idol judge Randy Jackson and newcomer, Aerosmith frontman Steven Tyler.

Kara DioGuardi recently confirmed she has left the show, along with Simon Cowell and Ellen DeGeneres.