Мне нужно сгенерировать код Kotlin на основе типов из внешнего модуля.
Код: Выделить всё
Example project:
|-Base
| |-interface ContentProvider
|
|-First
| |-interface FirstProvider : ContentProvider
|
|-Second
| |-interface SecondProvider : ContentProvider
|
|-Main app
|-class providers (generated)
|- object : FirstProvider
|- object : SecondProvider
I have tried to use KSP to achieve that, but KSP has not an access to content of an other module.
I need some idea how it could be implemented.
Источник: https://stackoverflow.com/questions/781 ... her-module
Мобильная версия