Joseph Gordon-Levitt is set to play Batman in 'Justice League'.

The actor is said to have agreed a deal with Warner Bros. to take on the role of the Caped Crusader in their new superhero ensemble, which will also feature Superman and Wonder Woman.

Website HitFix said: ''Joseph Gordon-Levitt absolutely will be appearing in Justice League as the new Batman.''

In Christopher Nolan's latest Batman film, 'The Dark Knight Rises', Gordon-Levitt's character, John Blake, assumes the role of Batman by walking into the Bat Cave, led there by a retired Bruce Wayne (Christian Bale).

According to the site, these scenes ''turned into conversation, and that conversation seems to be solidifying into a plan''.

Gordon-Levitt recently revealed how he would consider starring in 'Justice League' as long as it felt right.

He said: ''It always depends. I always pick projects that I want to be involved in for the same reasons.

''Is the script really good? Is the filmmaker a really inspired artist that I feel connected to? That's what I always pay attention to.''