chore: removed depcreated api from build.gradle

This commit is contained in:
zaaarf 2023-03-02 00:33:14 +01:00
parent 0678e882c5
commit 320b1b4f4e
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -67,14 +67,14 @@ dependencies {
}
jar {
archiveName = "${jar.baseName}-${shortVersion}.${jar.extension}"
archiveFileName = "${jar.archiveBaseName.get()}-${shortVersion}.${jar.archiveExtension.get()}"
manifest {
attributes([
"Specification-Title": "bscv",
"Specification-Vendor": "ftbsc",
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Version": project.version,
"Implementation-Vendor" :"ftbsc",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
@ -91,6 +91,5 @@ tasks.register('deployJar', Copy) {
}
build {
//dependsOn shadowJar, reobfShadowJar
finalizedBy deployJar
}