The issue has already been fixed, and the fix is currently available in the pre-release version of the extension.
Switching Gradle for Java to the Pre-Release Version solved it for me.