From ffa16d5f9cd49b2bac83d9593b46cc67e55b4838 Mon Sep 17 00:00:00 2001 From: Phillipp Glanz <6745190+TheMeinerLP@users.noreply.github.com> Date: Sun, 12 May 2024 11:39:11 +0200 Subject: [PATCH] Add missing imports --- build-logic/src/main/kotlin/extensions.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-logic/src/main/kotlin/extensions.kt b/build-logic/src/main/kotlin/extensions.kt index dbd9c3b4..f21d5671 100644 --- a/build-logic/src/main/kotlin/extensions.kt +++ b/build-logic/src/main/kotlin/extensions.kt @@ -1,3 +1,6 @@ +import java.io.ByteArrayOutputStream +import org.gradle.api.Project + fun Project.latestCommitHash(): String { return runGitCommand(listOf("rev-parse", "--short", "HEAD")) }