Skip to content

Commit c2f2925

Browse files
committed
Merge branch 'main' into renovate/ver_solstice
2 parents 7a67233 + 25151c9 commit c2f2925

File tree

10 files changed

+22
-20
lines changed

10 files changed

+22
-20
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ VER_SLF4J=[1.6,2.0[
2929
# Used in multiple places
3030
VER_DURIAN=1.2.0
3131
VER_JGIT=6.10.0.202406032230-r
32-
VER_JUNIT=5.10.3
32+
VER_JUNIT=5.11.0
3333
VER_ASSERTJ=3.26.3
3434
VER_MOCKITO=5.12.0

gradle/wrapper/gradle-wrapper.jar

79 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

lib/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ tasks.named("check").configure {
6868
}
6969

7070
dependencies {
71-
compileOnly 'org.slf4j:slf4j-api:2.0.0'
72-
testCommonImplementation 'org.slf4j:slf4j-api:2.0.0'
71+
compileOnly 'org.slf4j:slf4j-api:2.0.16'
72+
testCommonImplementation 'org.slf4j:slf4j-api:2.0.16'
7373

7474
// zero runtime reqs is a hard requirements for spotless-lib
7575
// if you need a dep, put it in lib-extra
@@ -91,7 +91,7 @@ dependencies {
9191
flexmarkCompileOnly 'com.vladsch.flexmark:flexmark-all:0.64.8'
9292
// gherkin
9393
gherkinCompileOnly 'io.cucumber:gherkin-utils:9.0.0'
94-
gherkinCompileOnly 'org.slf4j:slf4j-api:2.0.0'
94+
gherkinCompileOnly 'org.slf4j:slf4j-api:2.0.16'
9595
// googleJavaFormat
9696
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.23.0'
9797
// gson
@@ -114,22 +114,22 @@ dependencies {
114114
// ktlint previous supported version
115115
compatKtLint0Dot49Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:0.49.0'
116116
compatKtLint0Dot49Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.49.0'
117-
compatKtLint0Dot49Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.0'
117+
compatKtLint0Dot49Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.16'
118118
// ktlint previous supported version
119119
compatKtLint0Dot50Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:0.50.0'
120120
compatKtLint0Dot50Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:0.50.0'
121-
compatKtLint0Dot50Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.0'
121+
compatKtLint0Dot50Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.16'
122122
// ktlint latest supported version
123123
compatKtLint1Dot0Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-rule-engine:1.0.0'
124124
compatKtLint1Dot0Dot0CompileAndTestOnly 'com.pinterest.ktlint:ktlint-ruleset-standard:1.0.0'
125-
compatKtLint1Dot0Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.0'
125+
compatKtLint1Dot0Dot0CompileAndTestOnly 'org.slf4j:slf4j-api:2.0.16'
126126
// palantirJavaFormat
127127
palantirJavaFormatCompileOnly 'com.palantir.javaformat:palantir-java-format:1.1.0' // this version needs to stay compilable against Java 8 for CI Job testNpm
128128
// scalafmt
129129
scalafmtCompileOnly "org.scalameta:scalafmt-core_2.13:3.8.1"
130130
// sortPom
131131
sortPomCompileOnly 'com.github.ekryd.sortpom:sortpom-sorter:4.0.0'
132-
sortPomCompileOnly 'org.slf4j:slf4j-api:2.0.12'
132+
sortPomCompileOnly 'org.slf4j:slf4j-api:2.0.16'
133133
// zjsonPatch
134134
zjsonPatchCompileOnly 'com.flipkart.zjsonpatch:zjsonpatch:0.4.16'
135135
}

plugin-gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
testImplementation "org.junit.jupiter:junit-jupiter:${VER_JUNIT}"
2626
testImplementation "org.assertj:assertj-core:${VER_ASSERTJ}"
2727
testImplementation "com.diffplug.durian:durian-testlib:${VER_DURIAN}"
28-
testImplementation 'org.owasp.encoder:encoder:1.2.3'
28+
testImplementation 'org.owasp.encoder:encoder:1.3.1'
2929
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
3030
}
3131

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/TypescriptExtensionTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2023 DiffPlug
2+
* Copyright 2016-2024 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
1717

1818
import java.io.IOException;
1919

20+
import org.junit.jupiter.api.Disabled;
2021
import org.junit.jupiter.api.Test;
2122

2223
import com.diffplug.spotless.npm.EslintFormatterStep;
@@ -169,6 +170,7 @@ void useEslint() throws IOException {
169170
}
170171

171172
@Test
173+
@Disabled
172174
void useEslintXoStandardRules() throws IOException {
173175
setFile(".eslintrc.js").toResource("npm/eslint/typescript/styleguide/xo/.eslintrc.js");
174176
setFile("tsconfig.json").toResource("npm/eslint/typescript/styleguide/xo/tsconfig.json");

plugin-maven/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies {
5151
testImplementation "org.mockito:mockito-core:${VER_MOCKITO}"
5252
testImplementation "com.diffplug.durian:durian-io:${VER_DURIAN}"
5353
testImplementation 'com.github.spullara.mustache.java:compiler:0.9.14'
54-
testImplementation 'org.owasp.encoder:encoder:1.2.3'
54+
testImplementation 'org.owasp.encoder:encoder:1.3.1'
5555
testImplementation "org.apache.maven:maven-plugin-api:${VER_MAVEN_API}"
5656
testImplementation "org.eclipse.aether:aether-api:${VER_ECLIPSE_AETHER}"
5757
testImplementation "org.codehaus.plexus:plexus-resources:${VER_PLEXUS_RESOURCES}"

plugin-maven/src/test/java/com/diffplug/spotless/maven/typescript/TypescriptFormatStepTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2023 DiffPlug
2+
* Copyright 2016-2024 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,6 +19,7 @@
1919

2020
import java.io.IOException;
2121

22+
import org.junit.jupiter.api.Disabled;
2223
import org.junit.jupiter.api.Test;
2324

2425
import com.diffplug.spotless.ProcessRunner;
@@ -210,6 +211,7 @@ void eslintStyleguideStandardWithTypescript() throws Exception {
210211
}
211212

212213
@Test
214+
@Disabled
213215
void eslintStyleguideXo() throws Exception {
214216
writePomWithTypescriptSteps(
215217
TEST_FILE_PATH,

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
// https://github.com/gradle-nexus/publish-plugin/releases
1313
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' apply false
1414
// https://github.com/spotbugs/spotbugs-gradle-plugin/releases
15-
id 'com.github.spotbugs' version '6.0.19' apply false
15+
id 'com.github.spotbugs' version '6.0.20' apply false
1616
// https://github.com/diffplug/spotless-changelog/blob/main/CHANGELOG.md
1717
id 'com.diffplug.spotless-changelog' version '3.0.2' apply false
1818
// https://github.com/radarsh/gradle-test-logger-plugin/blob/develop/CHANGELOG.md

testlib/src/test/java/com/diffplug/spotless/npm/EslintFormatterStepTest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ class EslintJavascriptFormattingStepTest extends NpmFormatterStepCommonTests {
4141
"custom_rules", EslintFormatterStep.defaultDevDependenciesForTypescript(),
4242
"styleguide/airbnb", EslintStyleGuide.JS_AIRBNB.mergedWith(EslintFormatterStep.defaultDevDependencies()),
4343
"styleguide/google", EslintStyleGuide.JS_GOOGLE.mergedWith(EslintFormatterStep.defaultDevDependencies()),
44-
"styleguide/standard", EslintStyleGuide.JS_STANDARD.mergedWith(EslintFormatterStep.defaultDevDependencies()),
45-
"styleguide/xo", EslintStyleGuide.JS_XO.mergedWith(EslintFormatterStep.defaultDevDependencies()));
44+
"styleguide/standard", EslintStyleGuide.JS_STANDARD.mergedWith(EslintFormatterStep.defaultDevDependencies()));
4645

4746
@ParameterizedTest(name = "{index}: eslint can be applied using ruleset {0}")
48-
@ValueSource(strings = {"custom_rules", "styleguide/airbnb", "styleguide/google", "styleguide/standard", "styleguide/xo"})
47+
@ValueSource(strings = {"custom_rules", "styleguide/airbnb", "styleguide/google", "styleguide/standard"})
4948
void formattingUsingRulesetsFile(String ruleSetName) throws Exception {
5049
String filedir = "npm/eslint/javascript/" + ruleSetName + "/";
5150

@@ -79,11 +78,10 @@ class EslintTypescriptFormattingStepTest extends NpmFormatterStepCommonTests {
7978

8079
private final Map<String, Map<String, String>> devDependenciesForRuleset = ImmutableMap.of(
8180
"custom_rules", EslintFormatterStep.defaultDevDependenciesForTypescript(),
82-
"styleguide/standard_with_typescript", EslintStyleGuide.TS_STANDARD_WITH_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()),
83-
"styleguide/xo", EslintStyleGuide.TS_XO_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()));
81+
"styleguide/standard_with_typescript", EslintStyleGuide.TS_STANDARD_WITH_TYPESCRIPT.mergedWith(EslintFormatterStep.defaultDevDependenciesForTypescript()));
8482

8583
@ParameterizedTest(name = "{index}: eslint can be applied using ruleset {0}")
86-
@ValueSource(strings = {"custom_rules", "styleguide/standard_with_typescript", "styleguide/xo"})
84+
@ValueSource(strings = {"custom_rules", "styleguide/standard_with_typescript"})
8785
void formattingUsingRulesetsFile(String ruleSetName) throws Exception {
8886
String filedir = "npm/eslint/typescript/" + ruleSetName + "/";
8987

0 commit comments

Comments
 (0)