Skip to content

Commit

Permalink
Fix typo in wrapper task error message
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Kautler <Bjoern@Kautler.net>
  • Loading branch information
Vampire committed Dec 7, 2023
1 parent 0ab87d8 commit dd928bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Expected checksum: 'bad'

then:
result.assertHasErrorOutput("gradle-wrapper.properties contains distributionSha256Sum property, but the wrapper configuration does not have one. " +
"Specify one in the wrapped task configuration or with the --gradle-distribution-sha256-sum task option")
"Specify one in the wrapper task configuration or with the --gradle-distribution-sha256-sum task option")
}

private writeValidDistributionHash() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void checkProperties(Properties existingProperties) {
if (!isCurrentVersion() &&
distributionSha256Sum == null &&
checksumProperty != null) {
throw new GradleException("gradle-wrapper.properties contains distributionSha256Sum property, but the wrapper configuration does not have one. Specify one in the wrapped task configuration or with the --gradle-distribution-sha256-sum task option");
throw new GradleException("gradle-wrapper.properties contains distributionSha256Sum property, but the wrapper configuration does not have one. Specify one in the wrapper task configuration or with the --gradle-distribution-sha256-sum task option");
}
}

Expand Down

0 comments on commit dd928bc

Please sign in to comment.