Example of creation plugin which use JCEF for IntelliJ. Is part of blog post.
You need JDK- I have tested with 15. Later just:
./gradlew runIde
If you try to run it some time after publish, bump versions of gradle, scala and others. Or use Java 15.