Update Gradle wrapper

This commit is contained in:
Nassim Jahnke 2023-02-15 14:56:12 +01:00
parent 45fcc9ef7d
commit fb0381e76a
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
4 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,12 @@
import java.util.*
plugins { plugins {
id("via.shadow-conventions") id("via.shadow-conventions")
} }
tasks { tasks {
shadowJar { shadowJar {
archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").capitalize()}-${project.version}.jar") archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }}-${project.version}.jar")
destinationDirectory.set(rootProject.layout.buildDirectory.dir("libs")) destinationDirectory.set(rootProject.layout.buildDirectory.dir("libs"))
} }
} }

Binary file not shown.

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists