diff --git a/gradle/test.libs.versions.toml b/gradle/test.libs.versions.toml index 2b091d911..1f7815a2c 100644 --- a/gradle/test.libs.versions.toml +++ b/gradle/test.libs.versions.toml @@ -6,7 +6,7 @@ mockito = "5.13.0" java-debug = "0.52.0" mixin = "0.15.3+mixin.0.8.7" -gradle-nightly = "8.12-20241009055624+0000" +gradle-nightly = "8.12-20241017001814+0000" fabric-loader = "0.16.5" fabric-installer = "1.0.1" diff --git a/src/test/groovy/net/fabricmc/loom/test/LoomTestConstants.groovy b/src/test/groovy/net/fabricmc/loom/test/LoomTestConstants.groovy index 6e128956d..f14eb2a2d 100644 --- a/src/test/groovy/net/fabricmc/loom/test/LoomTestConstants.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/LoomTestConstants.groovy @@ -24,14 +24,12 @@ package net.fabricmc.loom.test -import org.gradle.util.GradleVersion - class LoomTestConstants { private final static String NIGHTLY_VERSION = LoomTestVersions.GRADLE_NIGHTLY.version() private final static boolean NIGHTLY_EXISTS = nightlyExists(NIGHTLY_VERSION) // Test against the version of Gradle being used to build loom - public final static String DEFAULT_GRADLE = GradleVersion.current().getVersion() + public final static String DEFAULT_GRADLE = "8.11-rc-1" // Tests that depend specifically on the nightly will run on the current version when the nightly is not available. public final static String PRE_RELEASE_GRADLE = NIGHTLY_EXISTS ? NIGHTLY_VERSION : DEFAULT_GRADLE // Randomly sorted to ensure that all versions can run with a clean gradle home.