Gradle was using a plain, standard JDK10.0.2, but ...
# multiplatform
h
Gradle was using a plain, standard JDK10.0.2, but File --> Invalidate Caches/Restart in Idea seems to have done the trick.