Added manifest info
This commit is contained in:
parent
589f289f0e
commit
4ccec31b10
10
build.gradle
10
build.gradle
@ -17,6 +17,7 @@
|
||||
import dorkbox.license.License
|
||||
|
||||
import java.nio.file.Paths
|
||||
import java.time.Instant
|
||||
|
||||
buildscript {
|
||||
// load properties from custom location
|
||||
@ -124,6 +125,15 @@ tasks.withType(JavaCompile) {
|
||||
options.incremental = true
|
||||
}
|
||||
|
||||
tasks.withType(Jar) {
|
||||
duplicatesStrategy DuplicatesStrategy.FAIL
|
||||
|
||||
manifest {
|
||||
attributes['Implementation-Version'] = project.version
|
||||
attributes['Build-Date'] = Instant.now().toString()
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////
|
||||
////// Plugin Publishing + Release
|
||||
///////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user