chore: update gradle to version 9.2.1 to allow jvm25

This commit is contained in:
Christian Bergschneider committed 2025-12-11 03:39:18 +01:00
1 parent 8b933b0d5c
commit d3429626b5
5 files changed
+8 -10

No files matched your search

+4 -2
View File
@@ -1,6 +1,8 @@
import java.io.ByteArrayOutputStream
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.kotlin.dsl.support.serviceOf
import org.gradle.process.ExecOperations
var isPrerelease = false
@@ -8,7 +10,7 @@ var isPrerelease = false
fun Project.getGitHash(): String {
val stdout = ByteArrayOutputStream()
exec {
serviceOf<ExecOperations>().exec {
commandLine = mutableListOf("git", "rev-parse", "--short", "HEAD")
standardOutput = stdout
}
@@ -17,7 +19,7 @@ fun Project.getGitHash(): String {
fun Project.gitClone(name: String) {
val stdout = ByteArrayOutputStream()
exec {
serviceOf<ExecOperations>().exec {
commandLine = mutableListOf("git", "clone", name)
standardOutput = stdout
}