Skip to content

Commit

Permalink
Update gradle wrapper to 7.4.2 (elastic#85608)
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby authored Apr 1, 2022
1 parent d6486ab commit 3381fcd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build-tools-internal/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=a9a7b7baba105f6557c9dcf9c3c6e8f7e57e6b49889c5f1d133f015d0727e4be
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.1
7.4.2
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ private ResourceLock getResourceLock(SharedResource resource, int nodeCount) {
.findFirst()
.get();
getResourceLock.setAccessible(true);
return (ResourceLock) (GradleVersion.current().compareTo(GradleVersion.version("7.4.1")) > 0
? getResourceLock.invoke(resource)
: getResourceLock.invoke(resource, Math.min(nodeCount, resource.getMaxUsages())));
return (ResourceLock) (GradleVersion.current().compareTo(GradleVersion.version("7.5.0")) < 0
? getResourceLock.invoke(resource, Math.min(nodeCount, resource.getMaxUsages()))
: getResourceLock.invoke(resource));
} catch (Exception e) {
throw new GradleException("Unable to get ResourceLock", e);
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=a9a7b7baba105f6557c9dcf9c3c6e8f7e57e6b49889c5f1d133f015d0727e4be
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82
4 changes: 2 additions & 2 deletions plugins/examples/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=a9a7b7baba105f6557c9dcf9c3c6e8f7e57e6b49889c5f1d133f015d0727e4be
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82

0 comments on commit 3381fcd

Please sign in to comment.