j

    jw

    3 years ago
    that specific use-case is on my radar and might be my pet project over the holidays. was thinking of using Android Lint's UAST infrastructure to do it at the source layer with source generation and a Gradle plugin to start with. It could be moved to a compiler plugin later.
    jdemeulenaere

    jdemeulenaere

    3 years ago
    If you take the time to create a base gradle plugin that we can extend to easily generate sources given an AST, I think it would be really useful for people who want to do Kotlin multiplatform metaprogramming (until compiler plugins API is officially supported). At least I'm definitely interested, so please keep me updated in case you do something like that 🙂
    j

    jw

    3 years ago
    Good idea!