From 054aeff78b947e5b1cee6283e7a09ae4fa1a7121 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Fri, 27 Sep 2024 09:48:08 +0200 Subject: [PATCH] completely remove checkstyle and replace it with a simple regex check This is ~ 2 orders of magnitude faster on my machine, so it can be executed as part of the compileJava task. Also, it actually logs the failures, instead of making me go hunt for them in some generated HTML-based report. --- .github/workflows/atlas.yml | 1 - .github/workflows/contributor-build.yml | 1 - .idea/inspectionProfiles/Project_Default.xml | 4 +- CONTRIBUTING.md | 1 - ci/build.sh | 5 - gradle/java-module.gradle | 54 +++-- ...ernate-integrationtest-java-modules.gradle | 3 - hibernate-testing/hibernate-testing.gradle | 3 - release/jenkins-release-process.adoc | 2 +- .../checkstyle/checkstyle-non-fatal.xml | 186 ------------------ shared/config/checkstyle/checkstyle.xml | 104 ---------- .../hibernate-gradle-plugin.gradle | 8 - 12 files changed, 36 insertions(+), 336 deletions(-) delete mode 100644 shared/config/checkstyle/checkstyle-non-fatal.xml delete mode 100644 shared/config/checkstyle/checkstyle.xml diff --git a/.github/workflows/atlas.yml b/.github/workflows/atlas.yml index 64dc670d6d..d951494470 100644 --- a/.github/workflows/atlas.yml +++ b/.github/workflows/atlas.yml @@ -113,6 +113,5 @@ jobs: name: test-reports-java11-${{ matrix.rdbms }} path: | ./**/target/reports/tests/ - ./**/target/reports/checkstyle/ - name: Omit produced artifacts from build cache run: ./ci/before-cache.sh \ No newline at end of file diff --git a/.github/workflows/contributor-build.yml b/.github/workflows/contributor-build.yml index 440632c9b3..b293b047d0 100644 --- a/.github/workflows/contributor-build.yml +++ b/.github/workflows/contributor-build.yml @@ -121,6 +121,5 @@ jobs: name: test-reports-java11-${{ matrix.rdbms }} path: | ./**/target/reports/tests/ - ./**/target/reports/checkstyle/ - name: Omit produced artifacts from build cache run: ./ci/before-cache.sh diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 2a318cb581..582f558557 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,12 +3,12 @@