Thank you very much for the suggested documentation. This step I managed to do by myself, the problem that I stumble upon was with kotlin-plugin dependency.
But, with the suggestion you provided me with in the next comments I manage to make the tornadofx plugin compile just fine.