Update gradle and show how you can pin vanillagradle versions
This commit is contained in:
parent
f78f8c15e3
commit
c2b0ec3804
|
|
@ -1,3 +1,19 @@
|
|||
/*
|
||||
VanillaGradle likes to push breaking changes without updating their version
|
||||
If this happens in the future, try update your gradle version on the project
|
||||
If a gradle update doesn't fix the issue, you can pin the VanillaGradle version to a specific version that was working before.
|
||||
You can find the versions here https://repo.spongepowered.org/#browse/browse:maven-snapshots:org%2Fspongepowered%2Fvanillagradle
|
||||
and you can pin them with the following code:
|
||||
|
||||
buildscript {
|
||||
dependencies.add 'classpath', 'org.spongepowered:vanillagradle:0.2.1-20240507.024226-82'
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'org.spongepowered.gradle.vanilla' version '0.2.1-20240507.024226-82'
|
||||
}
|
||||
*/
|
||||
|
||||
plugins {
|
||||
id 'idea'
|
||||
id 'java'
|
||||
|
|
|
|||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
|
@ -1,6 +1,6 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
|
|
|||
2
gradlew
vendored
2
gradlew
vendored
|
|
@ -55,7 +55,7 @@
|
|||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user