Hi Markus,
bi-directional dependencies are always a bit difficult with alternative JVM languages but there are two ways to address this:
a) shared interface
The trick is to extract a shared Java interface and compile this in an extra (gradle) project, say "shared".
Then you let your core project depend on "shared". You can even split up your core project into
"java" and "frege" and let either depend on "shared".
Granted, this is a bit of setup work, but it somewhat models the dependencies nicely
and Gradle supports multi-project builds really well.
b) inline Java
You can inline your Java code right inside your Frege module files and they will be compiled together
in the same fashion that the Java compiler resolves bidirectional dependencies between two Java files.
Please let me know if that works for you.
Cheers
Dierk
> --
> You received this message because you are subscribed to the Google Groups "Frege Programming Language" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
frege-programming-l...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.