Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Gradle 8.11-rc-1 #1195

Open
wants to merge 1 commit into
base: dev/1.8
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/test.libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down