From 5ea8b0cc1e58072ae7fe7f3a65ee0c386244f8ea Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Mon, 18 Nov 2024 16:19:17 -0800 Subject: [PATCH] remove use of deprecated Gradle API (#1076) The `fileMode` API will be removed in Gradle 9.0 --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 19a2bbd09a..c3cb4c0c0d 100644 --- a/build.gradle +++ b/build.gradle @@ -155,5 +155,7 @@ tasks.register('installGitHooks', Copy) { rename 'pre-commit-stub', 'pre-commit' } into file('.git/hooks') - fileMode 0777 + filePermissions { + unix(0777) + } }