"Cannot start compilation: the output path is not specified for module..."

I have a very simple Java + Gradle project. It builds fine. It runs fine from the shell with "gradle run". However, if I try to run inside of IntelliJ, I get: Cannot start compilation: the output ...