diff --git a/build.gradle b/build.gradle
index 4653b46904..0829666d01 100644
--- a/build.gradle
+++ b/build.gradle
@@ -413,10 +413,9 @@ task deployAll{
 
 task resolveDependencies{
     doLast{
-        rootProject.allprojects{project ->
+        rootProject.allprojects{ project ->
             Set<Configuration> configurations = project.buildscript.configurations + project.configurations
-            configurations.findAll{c -> c.canBeResolved}
-                .forEach{c -> c.resolve()}
+            configurations.findAll{c -> c.canBeResolved}.forEach{c -> c.resolve()}
         }
     }
 }
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 6c9a224775..da9702f9e7 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists