From e883a46f53287dcf7a7eac621a5c498d6c7bdc1e Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 9 Apr 2025 16:20:14 -0400 Subject: [PATCH] Fixes deprecated warning --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6727778a61..3646b9e716 100644 --- a/build.gradle +++ b/build.gradle @@ -49,6 +49,6 @@ tasks.register('installGitHook', Copy) { from new File(rootProject.rootDir, 'git-hooks/pre-commit') from new File(rootProject.rootDir, 'git-hooks/pre-push') into { new File(rootProject.rootDir, '.git/hooks') } - fileMode 0777 + filePermissions { unix(0777) } } tasks.getByPath(':amethyst:preBuild').dependsOn installGitHook \ No newline at end of file