From 752590041e46fff97496b7487a1110581ac0593f Mon Sep 17 00:00:00 2001 From: Rory Hunter Date: Thu, 24 Sep 2020 12:51:27 +0100 Subject: [PATCH] Upgrade spotless dependency (#62857) No changes to formatted Java files. --- build.gradle | 2 +- gradle/formatting.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 248de9fdb66..5f0a6734538 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ plugins { id 'lifecycle-base' id 'elasticsearch.docker-support' id 'elasticsearch.global-build-info' - id "com.diffplug.gradle.spotless" version "3.28.0" apply false + id "com.diffplug.spotless" version "5.6.1" apply false } apply from: 'gradle/build-scan.gradle' diff --git a/gradle/formatting.gradle b/gradle/formatting.gradle index ffec0144281..cdd769d291c 100644 --- a/gradle/formatting.gradle +++ b/gradle/formatting.gradle @@ -173,7 +173,7 @@ def projectPathsToExclude = [ subprojects { plugins.withType(BuildPlugin).whenPluginAdded { if (projectPathsToExclude.contains(project.path) == false) { - project.apply plugin: "com.diffplug.gradle.spotless" + project.apply plugin: "com.diffplug.spotless" spotless { java {