chore: removed depcreated api from build.gradle
This commit is contained in:
parent
0678e882c5
commit
320b1b4f4e
1 changed files with 2 additions and 3 deletions
|
@ -67,14 +67,14 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveName = "${jar.baseName}-${shortVersion}.${jar.extension}"
|
archiveFileName = "${jar.archiveBaseName.get()}-${shortVersion}.${jar.archiveExtension.get()}"
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
"Specification-Title": "bscv",
|
"Specification-Title": "bscv",
|
||||||
"Specification-Vendor": "ftbsc",
|
"Specification-Vendor": "ftbsc",
|
||||||
"Specification-Version": "1", // We are version 1 of ourselves
|
"Specification-Version": "1", // We are version 1 of ourselves
|
||||||
"Implementation-Title": project.name,
|
"Implementation-Title": project.name,
|
||||||
"Implementation-Version": "${version}",
|
"Implementation-Version": project.version,
|
||||||
"Implementation-Vendor" :"ftbsc",
|
"Implementation-Vendor" :"ftbsc",
|
||||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
||||||
])
|
])
|
||||||
|
@ -91,6 +91,5 @@ tasks.register('deployJar', Copy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
//dependsOn shadowJar, reobfShadowJar
|
|
||||||
finalizedBy deployJar
|
finalizedBy deployJar
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue