hey people, I try to do a reproducible build with ...
# announcements
s
hey people, I try to do a reproducible build with ktor. I mean whenever I want to build a jar file and I didn’t change anything in the source then the jar should be exactly the same. It works for my spring-boot services but not for the ktor services: https://dzone.com/articles/reproducible-builds-in-java could someone achieve this and how ?
I got it working with this in my gradle.build
Copy code
jar {
    preserveFileTimestamps = false
    reproducibleFileOrder = true
}
ref: https://github.com/johnrengelman/shadow/issues/389#issuecomment-440416343