Skip to content

Commit

Permalink
Test against Gradle 8.11-rc-1
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Oct 17, 2024
1 parent 6b18a7b commit e9a9e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
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

0 comments on commit e9a9e3b

Please sign in to comment.