From 60a321c331c8260b0caa5f277c7a442e3644adbc Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Wed, 18 Dec 2024 10:26:00 +0000 Subject: [PATCH] Test against Gradle 8.12-rc-2 and 8.13 nightly. --- gradle/test.libs.versions.toml | 2 +- .../groovy/net/fabricmc/loom/test/LoomTestConstants.groovy | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gradle/test.libs.versions.toml b/gradle/test.libs.versions.toml index 4bc6312a1..f0ea770e7 100644 --- a/gradle/test.libs.versions.toml +++ b/gradle/test.libs.versions.toml @@ -6,7 +6,7 @@ mockito = "5.14.2" java-debug = "0.52.0" mixin = "0.15.3+mixin.0.8.7" -gradle-nightly = "8.12-20241110002642+0000" +gradle-nightly = "8.13-20241218001607+0000" fabric-loader = "0.16.9" 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..24ede5d68 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.12-rc-2" // 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.