Skip to content

Commit

Permalink
Test against Gradle 8.12-rc-2 and 8.13 nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Dec 18, 2024
1 parent c80333b commit 60a321c
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.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"

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.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.
Expand Down

0 comments on commit 60a321c

Please sign in to comment.