aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-02 00:33:14 +0100
committer zaaarf <zaaarf@proton.me>2023-03-02 00:33:14 +0100
commit320b1b4f4e0ea07d6bd2e75b4a82aeb64e3705b9 (patch)
tree5ea2ce65b35c440a69f03bdb97c0b3432aad42ec /build.gradle
parent0678e882c5fcb3f5b0edd68c8275d6cee6f357cf (diff)
chore: removed depcreated api from build.gradle
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 808fa66..0a783d8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
}