Skip to content
Merged
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: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ loader_name=forge
loader_code=1
java_version=21
java_toolchain_version=21.0.7+6
# actions/setup-java names this exact Temurin build with its catalog LTS suffix.
java_setup_version=21.0.7+6.0.LTS
gradle_java_version=21
curseforge_project_id=245586
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ void usesOreSpawnSpecificMavenNamespace() throws Exception {
assertEquals("zone.moddev.mc.orespawn", properties.getProperty("mod_group"));
}

@Test
void declaresTheHostedSelectorForTheExactTemurinToolchain() throws Exception {
Properties properties = new Properties();
try (InputStream input = Files.newInputStream(Paths.get("gradle.properties"))) {
properties.load(input);
}
assertEquals("21.0.7+6", properties.getProperty("java_toolchain_version"));
assertEquals("21.0.7+6.0.LTS", properties.getProperty("java_setup_version"));
}

@Test
void verifiesGeneratedMavenCoordinatesBeforeCheckAndPublication() throws Exception {
Path buildFile = Paths.get("build.gradle");
Expand Down
Loading