mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 14:52:24 +00:00
SEC-2922: Specify Version in Manifest
This commit is contained in:
parent
1087d19346
commit
a1ff94a34e
@ -162,6 +162,17 @@ def guessMaxForks() {
|
|||||||
return Math.max(2, (int) (processors / 2))
|
return Math.max(2, (int) (processors / 2))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
manifest.attributes["Created-By"] = 'Spring Security Team'
|
||||||
|
manifest.attributes["Implementation-Title"] = project.name
|
||||||
|
manifest.attributes["Implementation-Version"] = project.version
|
||||||
|
manifest.attributes["Premain-Class"] =
|
||||||
|
manifest.attributes["Agent-Class"] =
|
||||||
|
manifest.attributes["Can-Redefine-Classes"] = "true"
|
||||||
|
manifest.attributes["Can-Retransform-Classes"] = "true"
|
||||||
|
manifest.attributes["Can-Set-Native-Method-Prefix"] = "false"
|
||||||
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
title = "Spring Security $version API"
|
title = "Spring Security $version API"
|
||||||
source = sourceSets.main.allJava
|
source = sourceSets.main.allJava
|
||||||
|
Loading…
x
Reference in New Issue
Block a user