Browse Source

Restore check part 1 and 2 order mistakenly reversed in [#45098] (#45522)

Mark Vieira 6 years ago
parent
commit
c252edbd96
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build.gradle

+ 2 - 2
build.gradle

@@ -524,9 +524,9 @@ allprojects {
   def checkPart2 = tasks.register('checkPart2')
   plugins.withId('lifecycle-base') {
       if (project.path.startsWith(":x-pack:")) {
-          checkPart1.configure { dependsOn 'check' }
-      } else {
           checkPart2.configure { dependsOn 'check' }
+      } else {
+          checkPart1.configure { dependsOn 'check' }
       }
   }
 }