From dfc392a6d0e3a0851868de48111c2cbae448f1ff Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Wed, 5 Jun 2024 10:11:45 +0200 Subject: [PATCH] Switch to new file permission DSL --- .../kotlin/junitbuild.java-library-conventions.gradle.kts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts b/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts index 2f0eb40780b8..078908656a01 100644 --- a/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts +++ b/gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts @@ -129,8 +129,12 @@ if (project in mavenizedProjects) { tasks.withType().configureEach { isPreserveFileTimestamps = false isReproducibleFileOrder = true - dirMode = Integer.parseInt("0755", 8) - fileMode = Integer.parseInt("0644", 8) + dirPermissions { + unix("rwxr-xr-x") + } + filePermissions { + unix("rw-r--r--") + } } normalization {