Cannot apply both java and play plugins

Hmm, I think you’re seeing a variation of this: Plugin google-test causes failure when plugin java is applied and a general problem with mixing plugins and rule-based plugins together.

This works around the issue:

task check {}
apply plugin: 'java'
apply plugin: 'play'

I’ve raised GRADLE-3356