From 076477b3062976e6d88f1c7c6aef2c77c6f75f21 Mon Sep 17 00:00:00 2001 From: Torben Date: Mon, 29 Jun 2026 10:04:57 +0200 Subject: [PATCH] Replace commandLine call with compatible Gradle 9 statement --- app/build.gradle.kts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4fd3c8962..adda9078c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -563,9 +563,7 @@ tasks.register("signResources"){ exclude("*.so") exclude("*.dll") }.forEach{ file -> - exec { - commandLine("codesign", "--timestamp", "--force", "--deep","--options=runtime", "--entitlements", entitlements, "--sign", "Developer ID Application", file) - } + Runtime.getRuntime().exec(arrayOf("codesign", "--timestamp", "--force", "--deep", "--options=runtime", "--entitlements", entitlements, "--sign", "Developer ID Application", file.absolutePath)) } jars.forEach { file -> FileOutputStream(File(file.parentFile, file.nameWithoutExtension)).use { fos ->