mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-23 12:05:28 +01:00
Update Gradle Wrapper from 8.10.2 to 8.11 (#617)
* Update Gradle Wrapper from 8.10.2 to 8.11 Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * Update Gradle API usage --------- Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: FlorianMichael <florian.michael07@gmail.com>
This commit is contained in:
parent
bd7e29b0e3
commit
f23c5ca7c4
13
build.gradle
13
build.gradle
@ -109,7 +109,7 @@ processResources {
|
|||||||
expand(
|
expand(
|
||||||
"version": project.version,
|
"version": project.version,
|
||||||
"description": project.description,
|
"description": project.description,
|
||||||
"implVersion": "git-${project.name}-${project.version}:${latestCommitHash()}",
|
"implVersion": "git-${project.name}-${project.version}:${latestCommitHash().get()}",
|
||||||
"mcVersion": mcVersion()
|
"mcVersion": mcVersion()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -123,13 +123,10 @@ String mcVersion() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String latestCommitHash() {
|
Provider<String> latestCommitHash() {
|
||||||
def stdout = new ByteArrayOutputStream()
|
return providers.exec {
|
||||||
exec {
|
commandLine = ["git", "rev-parse", "--short", "HEAD"]
|
||||||
commandLine "git", "rev-parse", "--short", "HEAD"
|
}.standardOutput.getAsText().map(String::trim)
|
||||||
standardOutput = stdout
|
|
||||||
}
|
|
||||||
return stdout.toString().trim()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,7 +1,7 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
|
distributionSha256Sum=57dafb5c2622c6cc08b993c85b7c06956a2f53536432a30ead46166dbca0f1e9
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user