michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
247 stars 199 forks source link

Ensure that the created jar is compatible with Java 8 #200

Closed SebastianLng closed 3 years ago

SebastianLng commented 3 years ago

Hi,

the java compatibility parameters for the build output have been removed with some dependency upgrades for the recent version 2.2.0-rc1. As a result, the version does not work on java versions smaller than 13 with exceptions such as:

java.lang.UnsupportedClassVersionError: com/novemberain/quartz/mongodb/MongoDBJobStore has been compiled by a more recent version of the Java Runtime (class file version 57.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Is this a permanent change or is this unintended? If it's the latter: I added Java 8 compatibility back into the project with this pull request.

Thanks for your work :)

michaelklishin commented 3 years ago

This was not intentional. Upgrading to Gradle 6 took enough effort for this to slip under the radar. Thank you. I think it makes sense to support JDK 8 for this project, for now.

michaelklishin commented 3 years ago

I will publish a new RC in the next few days.

michaelklishin commented 3 years ago

@SebastianLng if you are interested, I would be happy to add you as a collaborator for this repo. WDYT?

SebastianLng commented 3 years ago

Sure, I'd be happy to be a collaborator.

michaelklishin commented 3 years ago

@SebastianLng invite sent, thank you!