[build] Update exec for Gradle 9 (#8531)

This commit is contained in:
sciencewhiz
2026-01-02 09:47:25 -07:00
committed by GitHub
parent 8efdab81fe
commit d6b243fb46

View File

@@ -153,16 +153,16 @@ subprojects {
doLast {
// Get path to binary.
String path = task.getLinkedFile().getAsFile().get().getAbsolutePath()
exec {
workingDir rootDir
providers.exec {
setWorkingDir(rootDir)
def args = [
"sh",
"-c",
"codesign --force --strict --timestamp --options=runtime " +
"--verbose -s ${project.findProperty("developerID")} ${path}"
]
commandLine args
}
commandLine(args)
}.result.get()
}
}
}