Skip to content

Commit

Permalink
Regression fix to version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Jul 20, 2024
1 parent 0f65e1d commit 19991e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Binary file modified lib/bld/bld-wrapper.jar
Binary file not shown.
11 changes: 3 additions & 8 deletions src/main/java/rife/bld/BaseProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@
import rife.bld.help.*;
import rife.bld.operations.*;
import rife.tools.FileUtils;
import rife.tools.StringUtils;
import rife.tools.exceptions.FileUtilsErrorException;

import java.io.File;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.*;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -803,7 +798,7 @@ public Dependency dependency(String groupId, String artifactId, String version,
* @return a newly created {@code Dependency} instance
* @since 1.5
*/
public Dependency dependency(String groupId, String artifactId, VersionNumber version) {
public Dependency dependency(String groupId, String artifactId, Version version) {
return new Dependency(groupId, artifactId, version);
}

Expand All @@ -817,7 +812,7 @@ public Dependency dependency(String groupId, String artifactId, VersionNumber ve
* @return a newly created {@code Dependency} instance
* @since 1.5
*/
public Dependency dependency(String groupId, String artifactId, VersionNumber version, String classifier) {
public Dependency dependency(String groupId, String artifactId, Version version, String classifier) {
return new Dependency(groupId, artifactId, version, classifier);
}

Expand All @@ -832,7 +827,7 @@ public Dependency dependency(String groupId, String artifactId, VersionNumber ve
* @return a newly created {@code Dependency} instance
* @since 1.5
*/
public Dependency dependency(String groupId, String artifactId, VersionNumber version, String classifier, String type) {
public Dependency dependency(String groupId, String artifactId, Version version, String classifier, String type) {
return new Dependency(groupId, artifactId, version, classifier, type);
}

Expand Down

0 comments on commit 19991e8

Please sign in to comment.