Is there any example out there for how to integrate AOT compiled code into a component? I tried to keep it to being written in a component with no dependents and used from a base, but I have other components that need to integrate it. Or perhaps I should consider those downstream components to be bases instead? The context here is Rama modules. Those are binaries, the unit of building an uberjar for sending to Rama. I've got the jar building as a project, that part is working great. But the AOT bit is a custom serializer for Rama, which I need to write as a gen-class (I think) but also want to reference from the tests for the Rama module.
I haven't done this myself, but here's how I understand it: you can treat the AOT compiled code as a library, and then let a component wrap it and expose the functionality through its interfaces. Would that solve your problem?