Skip to content

Commit

Permalink
Fix deprecation warning in build script (#11642)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jun 20, 2024
1 parent 622d8ed commit 028a5c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions conventions/src/main/kotlin/otel.java-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 028a5c0

Please sign in to comment.