mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-04-29 22:24:28 +02:00
Create reproducible builds
This commit is contained in:
parent
6110281518
commit
cd5721e704
@ -42,18 +42,27 @@ def sharedManifest = manifest {
|
||||
|
||||
jar {
|
||||
manifest.from sharedManifest
|
||||
reproducibleFileOrder = true
|
||||
preserveFileTimestamps = false
|
||||
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
manifest.from sharedManifest
|
||||
reproducibleFileOrder = true
|
||||
preserveFileTimestamps = false
|
||||
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
classifier = 'javadoc'
|
||||
from javadoc
|
||||
manifest.from sharedManifest
|
||||
reproducibleFileOrder = true
|
||||
preserveFileTimestamps = false
|
||||
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||
}
|
||||
|
||||
artifacts {
|
||||
|
Loading…
x
Reference in New Issue
Block a user