From 2245a796536f37e648101fe501e3557705cb3faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 6 Jul 2026 15:12:44 +0200 Subject: [PATCH] Harmonize checkstyle configuration Closes gh-50921 --- buildSrc/config/checkstyle/checkstyle.xml | 4 ++-- .../config/checkstyle/checkstyle-header.txt | 15 +++++++++++++++ gradle/plugins/config/checkstyle/checkstyle.xml | 3 ++- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 gradle/plugins/config/checkstyle/checkstyle-header.txt diff --git a/buildSrc/config/checkstyle/checkstyle.xml b/buildSrc/config/checkstyle/checkstyle.xml index ed8fc278864..c69eb6c0744 100644 --- a/buildSrc/config/checkstyle/checkstyle.xml +++ b/buildSrc/config/checkstyle/checkstyle.xml @@ -5,13 +5,13 @@ - + + value="^com\.fasterxml\.jackson(?!\.annotation).*" /> diff --git a/gradle/plugins/config/checkstyle/checkstyle-header.txt b/gradle/plugins/config/checkstyle/checkstyle-header.txt new file mode 100644 index 00000000000..c3fe51bc24a --- /dev/null +++ b/gradle/plugins/config/checkstyle/checkstyle-header.txt @@ -0,0 +1,15 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/gradle/plugins/config/checkstyle/checkstyle.xml b/gradle/plugins/config/checkstyle/checkstyle.xml index 1ad50d8fcb8..0368fda2b7f 100644 --- a/gradle/plugins/config/checkstyle/checkstyle.xml +++ b/gradle/plugins/config/checkstyle/checkstyle.xml @@ -5,5 +5,6 @@ + - \ No newline at end of file +