Skip to content

Commit

Permalink
Allow + in Jar-in-Jar versions if they are not at the end (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 authored Jun 20, 2024
1 parent 5881c99 commit ba93e09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private static String validateVersionRange(String range, ModuleComponentSelector
throw new GradleException(errorPrefix + "no restrictions");
} else if (data.getRecommendedVersion() != null) {
throw new GradleException(errorPrefix + "recommended versions are unsupported");
} else if (range.contains("+")) {
} else if (range.endsWith("+")) {
throw new GradleException(errorPrefix + "dynamic versions are unsupported");
}

Expand Down

0 comments on commit ba93e09

Please sign in to comment.