'KMM Android Module not being included on Library

I have an Android project with multiple modules.

  • feature 1
  • feature 2
  • log
  • shared KMM module

One of these modules is a shared code module using KMM. I use https://github.com/kezong/fat-aar-android for including all modules into a library.

During the library assemble all my modules are built, but the generated artifact doesn't have any class, object or interface from the KMM module, resulting on a java.lang.NoClassDefFoundError when trying to call a class that the KMM module has.

Can this be related to proguard? Or some missconfiguration on the module's gradle?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source