Remove unused simplegit that required JDK 21+ - #2015
Conversation
Jolanrensen
left a comment
There was a problem hiding this comment.
you're right! This is now solved by GH actions. It can be removed :)
Though the JDK requirement is just for Gradle itself, right? It's recommended to keep that as up-to-date as possible, while our published library should be compatible with a JVM as old as possible. We currently set gradle-jdk to 21 for the entire project, but we could probably bump that to the latest LTS JDK version (25?) soon
Yes, makes sense to run on latest JDK. At the same time good if it's not strictly required, just a default for us :) I tried building the project on windows and only had JDK 17 there. Had to install 21 additionaly because simple git required it |
Not just simple-git ;P You can indeed lower the version to 17 by adjusting gradle-jdk in libs.versions.toml, this adjusts it project-wide, |
I don't know, let me check
Wait, so this i target JDK of compiled build logic / convention plugins. Didn't realize that. If it's like this i don't mind, for me it failed on simple git probably because it's somehow earlier in resolution. |
|
@koperagen indeed Anyway, we should still remove simple-git :) |
Seems like it's unused, right? If i'm not missing something. I'd remove it altogether because now by simply existing it requires JDK 21+ for build to work