I am starting to get the following warnings for na...
# amper
s
I am starting to get the following warnings for native target modules, which have shared module dependencies (which set the JVM release as 21). Not sure why JVM release config matters for native app product types.
Copy code
Module linux uses JVM release 17 (default) but depends on module shared with a higher JVM release 21

Module macos uses JVM release 17 (default) but depends on module shared with a higher JVM release 21

Module windows uses JVM release 17 (default) but depends on module shared with a higher JVM release 21
Also is there any way to suppress all warning messages in Amper?
j
We don't have a suppression mechanism (yet), but thank you for the report. I added this diagnostic recently, and it turns out I didn't filter out cases where the JVM target simply isn't supported. Will fix.
thank you color 1
cc @utikeev I think we should consider providing ways to suppress warning-level diagnostics (not errors, because that would break invariants)
👍 1
u
I have filed AMPER-4603 to track the suppression story, thank you for reminding us about the necessity of it 🙂
🙏 1
👍 1