Skip to content

Commit

Permalink
Trim gradle zip and re-add
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens-W committed Aug 27, 2024
1 parent 19dde42 commit f04b2a4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@
*.war binary
*.ear binary
*.rar binary
**/gradle-8.10-bin.zip filter=lfs diff=lfs merge=lfs -text
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ private GradleWrapper getGradleWrapper(ExecutionContext ctx) {
return gradleWrapper = new GradleWrapper(version, new DistributionInfos(null, null, null));
} else {
throw new IllegalArgumentException(
"Could not reach services.gradle.org and no alternative wrapper URI is provided. " +
"To use this recipe in environments where services.gradle.org is unavailable specify a wrapperUri.", e);
"Could not reach services.gradle.org, no alternative wrapper URI is provided and no exact version is provided. " +
"To use this recipe in environments where services.gradle.org is unavailable specify a wrapperUri or exact version.", e);
}
}
if (wrapperUri.contains("${version})")) {
Expand Down
Binary file modified rewrite-gradle/src/test/resources/gradle-8.10-bin.zip
Binary file not shown.

0 comments on commit f04b2a4

Please sign in to comment.