4b949ef303
if gradle project is being built with JPS, the gradle scripting plugin is passed in the plugin classpath. Since it is rebased on the embeddable compiler, it hides expected plugin registrar signature, which leads to the AbstractMethodError on attempt to load the plugin. Putting incoming classpath at the end of the resulting one fixes the issue. Fixes #KT-24448