Tianyu Zhu
08/01/2022, 11:23 PMMETA-INF/*.kotlin_module
files together?
2. If so, is there a gradle plugin that will help me with that?
3. Otherwise, why doesn't IntelliJ understand kotlin code that's been put into fat jars?mbonnin
08/01/2022, 11:27 PMIntelliJ doesn't recognize any of the kotlin code in the fat jar!What do you mean by that? Call sites that call into your fat jar are underlined in red? Or something else? I would expect the callsites to work as usual because typically, the public API of your fat jar isn't relocated
Tianyu Zhu
08/01/2022, 11:29 PMmbonnin
08/01/2022, 11:29 PMTianyu Zhu
08/01/2022, 11:30 PMtapchicoma
08/02/2022, 9:18 AMIs this related the fact that my fat jar does not merge the META-INF/*.kotlin_module files together?That could be the case that some
*.kotlin_module
files are missing. Though they don't need to be merged/mbonnin
08/02/2022, 9:21 AM*.kotlin_modules
are only for things like top-level declarations right? Regular classes shouldn't need those.tapchicoma
08/02/2022, 9:22 AMinternal
visibility is also in thoseTianyu Zhu
08/02/2022, 12:05 PM*.kotlin_module
files are not necessary for IntelliJ to work correctly, and
• The *.kotlin_module
files do not need to be merged to be effectivembonnin
08/02/2022, 12:07 PMtapchicoma
08/02/2022, 12:08 PMThe *.kotlin_module files are not necessary for IntelliJ to work correctly, andThey are required for Kotlin compilation
The *.kotlin_module files do not need to be merged to be effectiveThey are files in protobuf format. I doubt Shadow could merge them correctly
Tianyu Zhu
08/02/2022, 12:12 PMMETA-INF/
. I guess this is fine since the *.kotlin_module
files are helping my code compile correctly. But for some reason IntelliJ is still not picking up the classes in the fat jar...
Do you have an idea of why?tapchicoma
08/02/2022, 12:14 PMmbonnin
08/02/2022, 12:16 PMTianyu Zhu
08/02/2022, 12:23 PMmbonnin
08/02/2022, 12:35 PM