Skip to content

Remove unused simplegit that required JDK 21+ - #2015

Merged
koperagen merged 1 commit into
masterfrom
simple-git
Jul 31, 2026
Merged

Remove unused simplegit that required JDK 21+#2015
koperagen merged 1 commit into
masterfrom
simple-git

Conversation

@koperagen

Copy link
Copy Markdown
Collaborator

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

@koperagen koperagen added this to the 1.0 milestone Jul 30, 2026
@koperagen
koperagen requested a review from Jolanrensen July 30, 2026 15:59
@koperagen koperagen self-assigned this Jul 30, 2026
@koperagen koperagen added the infrastructure GitHub actions, Gradle Scripts, Writerside, etc. label Jul 30, 2026

@Jolanrensen Jolanrensen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@koperagen

Copy link
Copy Markdown
Collaborator Author

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

@Jolanrensen

Jolanrensen commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

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
https://github.com/Kotlin/dataframe/blob/master/CONTRIBUTING.md#environment-requirements

You can indeed lower the version to 17 by adjusting gradle-jdk in libs.versions.toml, this adjusts it project-wide,
but not sure if something else might break. Was it just simple-git? or did something else break too?

@koperagen

Copy link
Copy Markdown
Collaborator Author

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 https://github.com/Kotlin/dataframe/blob/master/CONTRIBUTING.md#environment-requirements

You can indeed lower the version to 17 by adjusting gradle-jdk in libs.versions.toml, this adjusts it project-wide, but not sure if something else might break. Was it just simple-git? or did something else break too?

I don't know, let me check

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 https://github.com/Kotlin/dataframe/blob/master/CONTRIBUTING.md#environment-requirements

You can indeed lower the version to 17 by adjusting gradle-jdk in libs.versions.toml, this adjusts it project-wide, but not sure if something else might break. Was it just simple-git? or did something else break too?

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.
kotlin {
jvmToolchain(libs.versions.gradle.jdk.get().toInt())
}

@Jolanrensen

Copy link
Copy Markdown
Collaborator

@koperagen indeed jvmToolchain(libs.versions.gradle.jdk.get().toInt()) will fail if you don't have the right version installed. Maybe we could provide a more helpful error there ;P (though I thought Gradle might say something more helpful...)

Anyway, we should still remove simple-git :)

@koperagen
koperagen merged commit f757f5d into master Jul 31, 2026
4 checks passed
@koperagen
koperagen deleted the simple-git branch July 31, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure GitHub actions, Gradle Scripts, Writerside, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants