Support class versions
Add the class version to JavaClass so rules can verify the class version
Fixes https://github.com/TNG/ArchUnit/issues/423
I followed the guidelines in the original issue, but was unsure about testing.
How would you advise testing this?
One option could be to commit compiled classes in src/test/resources to the repository.
Do you have an example test method/class I should follow the style/pattern of?
A test would be really great for this, including the LTS versions starting from Java 8: 8, 11, 17, 21, 25 checking in compiled classes sounds as the most stable solution, but I'm not sure of how to add these classes to the scanned packages/classes