diff --git a/eternalcore-plugin/src/main/java/com/eternalcode/core/loader/dependency/Dependency.java b/eternalcore-plugin/src/main/java/com/eternalcode/core/loader/dependency/Dependency.java index bfffa0189..66b63ff91 100644 --- a/eternalcore-plugin/src/main/java/com/eternalcode/core/loader/dependency/Dependency.java +++ b/eternalcore-plugin/src/main/java/com/eternalcode/core/loader/dependency/Dependency.java @@ -4,9 +4,13 @@ import com.eternalcode.core.loader.resource.ResourceLocator; import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; public class Dependency { + private static final Pattern VERSION_PATTERN = Pattern.compile("(?[0-9]+)\\.(?[0-9]+)\\.?(?[0-9]?)(-(?