feat: 26.1.2

This commit is contained in:
ArikSquad committed 2026-05-05 17:42:55 +03:00
1 parent 25d510156d
commit 7b44ea93ba
21 files changed
+153 -96

No files matched your search

+3 -8
View File
@@ -7,19 +7,14 @@ var isPrerelease = false
fun Project.getGitHash(): String {
val stdout = ByteArrayOutputStream()
exec {
return providers.exec {
commandLine = mutableListOf("git", "rev-parse", "--short", "HEAD")
standardOutput = stdout
}
return stdout.toString().trim()
}.standardOutput.asText.get().trim()
}
fun Project.gitClone(name: String) {
val stdout = ByteArrayOutputStream()
exec {
providers.exec {
commandLine = mutableListOf("git", "clone", name)
standardOutput = stdout
}
}