You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay ... it seems like hard injection of language was a mistake.
Indeed, to inject Java language, I first checked if some dependnecies were present and used that as an indicator of Java usage.
But it fails miserably when no dependency is important enough.
The method I will now use will be significantly harder.
Detect if some language runtime is detected in dependencies (by checking if dependency has the "language" tag)
In fact, it's not even the best way.
Currently, I think that the best way is to explore pom hierarchy looking for nearest compiler configuration.
This will give us the used Java version
Indeed, to inject Java language, I first checked if some dependnecies were present and used that as an indicator of Java usage.
But it fails miserably when no dependency is important enough.
The method I will now use will be significantly harder.
Originally posted by @Riduidel in #373 (comment)
The text was updated successfully, but these errors were encountered: