Hello. I'm trying to migrate my plugin to K2. In my plugin, I have a function for creating a gradle module with different functionality that adds import to a file located in the main module. For this, I have a line like ``ktPsiFactory.createImportDirective(ImportPath.fromString(moduleCanonicalName)``, but when I enable K2 mode, I get the error "is scheduled for removal because its signature references 'org. jetbrains. kotlin. resolve. ImportPath' scheduled for removal in a future version " on the
createImportDirective
and
ImportPath.fromString
functions. What is the current replacement for these functions? I searched, but did not find the correct replacement