Skip to content

Commit

Permalink
Make CoordinateCollector deterministic (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Mar 18, 2024
1 parent e1413ff commit 6c5abf2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package net.neoforged.gradle.dsl.platform.util

import groovy.transform.CompileStatic
import net.neoforged.gradle.dsl.platform.util.ModuleIdentificationVisitor
import org.gradle.api.model.ObjectFactory
import org.jetbrains.annotations.Nullable

@CompileStatic
class CoordinateCollector extends ModuleIdentificationVisitor {

private final Set<String> coordinates = new HashSet<>()
private final Set<String> coordinates = new LinkedHashSet<>(); // Ensure deterministic ordering

CoordinateCollector(ObjectFactory objectFactory) {
super(objectFactory)
Expand Down

0 comments on commit 6c5abf2

Please sign in to comment.