1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-04-22 06:24:47 +02:00

Reproducible file order

This commit is contained in:
Paul Schaub 2024-12-21 14:32:42 +01:00
parent 4dbc633d7d
commit 02330a5aa1
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -45,6 +45,7 @@ allprojects {
// without this we would generate an empty pgpainless.jar for the project root
// https://stackoverflow.com/a/25445035
jar {
reproducibleFileOrder = true
onlyIf { !sourceSets.main.allSource.files.isEmpty() }
}