Skip to content

Commit 6909e19

Browse files
committed
Remove fluctuating constants from jar manifest which is added by smithy jar task
1 parent e64f26b commit 6909e19

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

framework-errors/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ tasks.named("sourcesJar") {
4545
mustRunAfter("compileJava")
4646
}
4747

48+
tasks.jar {
49+
doFirst {
50+
manifest.attributes.remove("Build-Timestamp")
51+
manifest.attributes.remove("Build-OS")
52+
manifest.attributes.remove("Build-Jdk")
53+
}
54+
}
55+
4856
// Helps Intellij plugin identify models
4957
sourceSets {
5058
main {

0 commit comments

Comments
 (0)