This fixes the warning "The '-d' option with a directory destination is ignored because '-module' is specified", when a project imported from Gradle is built with JPS. #KT-17665 fixed