Now that Java 17 was released we are going to support 3 LTS versions. It's time to think if we can drop Java 8 support. I would like to here from users that need this project to still support Java8 and why. For that reason I created this discussion on the repo: https://github.com/detekt/detekt/discussions/4130
09/27/2021, 12:16 PM
Personally, I am using Java 11 because Android supports it, but that change is recent, so probably a lot of Android projects will be stuck on JVM 8 for months.
09/27/2021, 3:21 PM
will be stuck on JVM 8 for months
I would even say years 😅
09/27/2021, 5:50 PM
For sure. But why those projects can't update? Is there any real stopper? If a project doesn't update its dependencies very often, is it going to update detekt? But if Android can drop the support I think that it should be safe for us to drop it too. But I would like to know if there is other framework or dependency that a lot of users use that forces them to use Java 8.
09/28/2021, 1:02 AM
even projects stuck targeting Java 8 for compatibility reasons can likely use Java 11 to build, so dropping Java 8 from a build tool shouldn't be too unreasonable IMO
there are still going to be some projects that are really stuck building with Java 8, due to JPMS or other changes… but hopefully that isn't true of most Detekt users
10/08/2021, 1:29 PM
@ephemient I can confirm. We're targeting 8 at my shop (for Android), but generally build on 11.