A compiler plugin to export declarations, and a gradle plugin to generate IR references to those declarations. Resolution is based on FqNames and IdSignatures.
Currently WIP.
Will replace the naming parts of compiler-plugin-utils once it is done.
Examples of usage and generated code are available in test/runtime (see it's other platforms, too) and test/compiler-plugin, respectively.