Paulo Cereda
04/23/2026, 5:21 PMfoo (main module): provides features A and B, targets Java 11
• bar (optional): provides feature C, JVM-only, targets Java 11
• baz (optional): provides feature C, targets JVM, Native, JS, but requires Java 17
We'd prefer not to bump the entire project to Java 17 just for baz. So:
1. Is it safe/supported to have different modules target different Java versions (11 for `foo`/`bar`, 17 for baz) in the same project?
2. We use tapmoc for our builds, can we configure different Java target versions per module?
Any gotchas or best practices we should be aware of? Thanks! 😊ephemient
04/23/2026, 5:23 PMephemient
04/23/2026, 5:24 PMPaulo Cereda
04/24/2026, 8:57 AM