Replies: 7 comments 4 replies
-
It's possible to do this for Swift and Java out of the box, for Flutter it is not (yet?) implemented. |
Beta Was this translation helpful? Give feedback.
-
Thanks, but which of the examples is showing for Java? |
Beta Was this translation helpful? Give feedback.
-
If C++ is configured and generated correctly like in examples which I mentioned then In gradle you just specify which generated java sources belong to module A or B. |
Beta Was this translation helpful? Give feedback.
-
But does A still contain references to B (type repository)? |
Beta Was this translation helpful? Give feedback.
-
Yes. A is required for B to function normally. |
Beta Was this translation helpful? Give feedback.
-
I meant the other way around: Does A contain any references to B? (For example, the type repository for Dart is a single file that contains references to A and B) |
Beta Was this translation helpful? Give feedback.
-
If you mean language-level references, then no, A doesn't contain such references to B (in Java and Swift). A can work without B. B can't work without A because it has language level references to A. If you mean memory-level references - then A contains runtime type repository which matches an object in Java/Swift and in C++, it also means that A can work without B, but not vice versa. |
Beta Was this translation helpful? Give feedback.
-
Assume you have two (or more) projects A and B, where B uses elements from A.
Is it possible to generate and build “separate” libraries/packages, where A can also be used without B, but also together with B?
For Dart, for example build a package A and a package B, where B has A as dependency.
I see that there is a global typerepository that might be clashing.
Beta Was this translation helpful? Give feedback.
All reactions