From e91c2ac7244b5324952fe5b1aa1f83f9572d41ee Mon Sep 17 00:00:00 2001 From: "icksishu@gmail.com" Date: Fri, 28 Nov 2025 14:44:36 +0900 Subject: [PATCH] =?UTF-8?q?exec=20=EB=AA=85=EB=A0=B9=20deprecated=20?= =?UTF-8?q?=EB=90=A8.=20=20=20=20=20providers.exec=20{=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20commandLine=20'git',=20'rev-parse',=20'--short',=20'HE?= =?UTF-8?q?AD'=20=20=20=20=20=20=20=20=20standardOutput=20=3D=20stdout;=20?= =?UTF-8?q?=20=20=20=20}.result.get()=20=EC=9D=B4=EB=A0=87=EA=B2=8C=20?= =?UTF-8?q?=EA=B3=A0=EC=B9=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index e512334..e51966e 100644 --- a/build.gradle +++ b/build.gradle @@ -11,10 +11,10 @@ version = '1.0.7' def gitCommitId = '' try { def stdout = new ByteArrayOutputStream() - exec { - commandLine 'git', 'rev-parse', '--short', 'HEAD' - standardOutput = stdout; - } + providers.exec { + commandLine 'git', 'rev-parse', '--short', 'HEAD' + standardOutput = stdout; + }.result.get() gitCommitId = stdout.toString().trim() } catch (Exception ignored) {