From f43740d4f3c2389ba3c8c123f0f6b4d6b1e3798f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp=20=28TWiStErRob=29?= Date: Thu, 16 Feb 2023 16:28:56 +0000 Subject: [PATCH] Go back a bit to support all versions of CI: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From 6.13.0 to 6.14.0, Spotless casually dropped Java 8 support: https://github.com/diffplug/spotless/blob/main/plugin-gradle/CHANGES.md#6140---2023-01-26 What is a major change, if inability to use is not 🙄? --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8049743a..7b5daf7f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,9 @@ plugins { `kotlin-dsl` `maven-publish` id("com.gradle.plugin-publish") version "0.21.0" - id("com.diffplug.spotless") version "6.15.0" + // From 6.14.0 onwards Spotless requires Gradle to be on Java 11, + // but we still use Java 8 in .github/workflows/java-versions.yml. + id("com.diffplug.spotless") version "6.13.0" id("com.github.johnrengelman.shadow") version "6.1.0" id("org.jetbrains.gradle.plugin.idea-ext") id("com.github.ben-manes.versions") version "0.39.0"