Closed Riduidel closed 10 months ago
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
In fact, we won't implement that for now
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 https://github.com/Riduidel/aadarchi/issues/373#issuecomment-1689438435