Manuel Wrage
03/25/2020, 3:53 PMshikasd
03/25/2020, 4:30 PMPackageFragmentProvider for this, it is a bit similar to what kotlinx.synthetic. does on android.
Also, one of the solutions is to generate Kotlin files inside build folder and restart analysis with them through RetryWithAdditionalRoots in AnalysisHandler.Manuel Wrage
03/25/2020, 4:50 PMshikasd
03/26/2020, 2:45 AMshikasd
04/08/2020, 10:58 AMSyntheticResolveExtension has something similar, it allows you to add supertypes to the class. I actually think serialization does its somewhere, but I can be wrong.
Discovering classes in classpath can be harder, because compiler does not go through them directly. Maybe you can use some gradle magic to find such classes in moduleA/B and provide it to moduleC.ralf
04/08/2020, 3:28 PMralf
04/08/2020, 5:58 PMSyntheticResolveExtension in conjunction with the annotation processor could make the integration easier. Thanks for the hint, I keep that in my back pocket.