Nikita Khlebushkin

    Nikita Khlebushkin

    2 years ago
    Hello here, I have an implementation of plugin based on MpApt and it generates the files I want, so I'm happy. Who isn't happy though is my code that depends on the generated files like this:
    class MyHandwrittenClass : GeneratedClass()
    . Sometimes it does compile (in 30% cases), sometimes it doesn't. I feel like the compiler and the plugin are racing each other. What can I do in this case?
    I solved a problem with a dirty little hack: I moved the generated files and the annotated files to another module and made the main project depend on this new module