Foundation is in general a dependency-free base layer for Java projects.
Foundation has four layers: pure, shared, jvm and client.
⚪️Pure: No dependencies, only classes from the j2cl compatible fragment. Java 11+ (maybe up to 21) syntax.
Exception: Annotations are allowed, e.g., jspecify or Jackson.
⚪️Shared: Only j2cl-dependencies allowed (e.g. elements). Java 11+ (maybe up to 21) syntax.
⚪️Client: This code runs only j2cl-compiled in the client. It may ...