serpro69 / kotlin-faker

Port of a popular ruby faker gem written in kotlin. Generate realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.
https://serpro69.github.io/kotlin-faker/
MIT License
472 stars 44 forks source link

Move to java17 as default #186

Open serpro69 opened 1 year ago

serpro69 commented 1 year ago

This is to gather details on moving to java17 as minimum requirement and start with the implementation. The plan is to release this in 2.0.0.

Acceptance criteria:

Some useful documentation from gradle:

serpro69 commented 7 months ago

OK, I'm not really sure this makes sense for a kotlin-based library. What benefits do we get from defaulting to java17 when the primary language is kotlin? I can't see any, at least until kotlin starts declaring "minimal supported java version". At the same time, implementing this issue would require introduction of another artifact to make the lib compatible with java8. Need to think more on it before breaking java8 compatibility.