Skip to content

Commit 028a5c0

Browse files
authored
Fix deprecation warning in build script (#11642)
1 parent 622d8ed commit 028a5c0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

conventions/src/main/kotlin/otel.java-conventions.gradle.kts

+6-2
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,12 @@ tasks {
294294
withType<AbstractArchiveTask>().configureEach {
295295
isPreserveFileTimestamps = false
296296
isReproducibleFileOrder = true
297-
dirMode = Integer.parseInt("0755", 8)
298-
fileMode = Integer.parseInt("0644", 8)
297+
dirPermissions {
298+
unix("755")
299+
}
300+
filePermissions {
301+
unix("644")
302+
}
299303
}
300304

301305
// Convenient when updating errorprone

0 commit comments

Comments
 (0)