mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +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
|
// Always run shadowJar
|
||||||
finalizedBy 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()) {
|
if (indraGit.isPresent()) {
|
||||||
indraGit.applyVcsInformationToManifest(manifest)
|
indraGit.applyVcsInformationToManifest(manifest)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user