The refactoring introduced in #3034 allows Dokka to use either K1 or K2 compiler for analysing Kotlin projects. The ability to switch between K1 and K2 should be added, so that we can start regression testing on a wider range of projects. ___ Blocked by: #3094