Test against Gradle 8 (#828)

* Test against Gradle 8

* Update
This commit is contained in:
modmuss50
2023-02-18 18:55:39 +00:00
parent ab114b5d7a
commit 4a11cbae07

View File

@@ -27,13 +27,13 @@ package net.fabricmc.loom.test
import org.gradle.util.GradleVersion
class LoomTestConstants {
private final static String NIGHTLY_VERSION = "8.1-20230119104422+0000"
private final static String NIGHTLY_VERSION = "8.1-20230217231705+0000"
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()
// Test against Gradle 8
public final static String GRADLE_8 = "8.0-rc-2"
public final static String GRADLE_8 = "8.0.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.