`gradlew tasks` fails in 2.4 due to not finding GeneratePom task

Found the topic I was thinking about, and @luke_daley answer

So I did not test it, and it’s not supposed to be used externally, but tasks.realize() shall do the trick, if I understand correctly.