diff --git a/build.gradle b/build.gradle index a7b8ca36a2c59..13270dd494121 100644 --- a/build.gradle +++ b/build.gradle @@ -106,7 +106,7 @@ subprojects { // Projects that should be formatted and checked with Spotless are // listed here, by project path. Once the number of formatted projects // is greater than the number of unformatted projects, this can be - // switched to an exclude list, and eventualy removed completely. + // switched to an exclude list, and eventually removed completely. def projectPathsToFormat = [ ':build-tools', ':distribution:tools:java-version-checker', @@ -193,7 +193,7 @@ task verifyVersions { throw new GradleException("Must run in online mode to verify versions") } // Read the list from maven central. - // Fetch the metadata an parse the xml into Version instances because it's more straight forward here + // Fetch the metadata and parse the xml into Version instances because it's more straight forward here // rather than bwcVersion ( VersionCollection ). new URL('https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/maven-metadata.xml').openStream().withStream { s -> bwcVersions.compareToAuthoritative(