mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-10-31 08:32:18 +01:00
Add manifest attributes
This commit is contained in:
parent
7e8150bad7
commit
81569c5ba8
12
build.gradle
12
build.gradle
@ -96,6 +96,18 @@ allprojects {
|
||||
// Always run shadowJar
|
||||
finalizedBy shadowJar
|
||||
|
||||
manifest.attributes(
|
||||
"Specification-Title": "DiscordSRV",
|
||||
"Specification-Vendor": "DiscordSRV",
|
||||
"Specification-Version": project.version
|
||||
)
|
||||
if (project.name != "api") {
|
||||
manifest.attributes(
|
||||
"Implementation-Title": "DiscordSRV",
|
||||
"Implementation-Vendor": "DiscordSRV",
|
||||
"Implementation-Version": project.version
|
||||
)
|
||||
}
|
||||
if (indraGit.isPresent()) {
|
||||
indraGit.applyVcsInformationToManifest(manifest)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user