Fix deprecation warning in build script (#11642)

This commit is contained in:
Lauri Tulmin 2024-06-20 17:20:16 +03:00 committed by GitHub
parent 622d8eda0e
commit 028a5c0e4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -294,8 +294,12 @@ tasks {
withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
dirMode = Integer.parseInt("0755", 8)
fileMode = Integer.parseInt("0644", 8)
dirPermissions {
unix("755")
}
filePermissions {
unix("644")
}
}
// Convenient when updating errorprone