From c1e7aa77dee3902c5a7b0e57e7f025cb1fb29e12 Mon Sep 17 00:00:00 2001 From: David Jacot Date: Tue, 14 May 2024 09:05:32 +0200 Subject: [PATCH] MINOR: Move `group-coordinator` import control to its own file (#15934) Follow the pattern used by the other modules. Reviewers: Chia-Ping Tsai --- build.gradle | 4 + .../import-control-group-coordinator.xml | 81 +++++++++++++++++++ checkstyle/import-control.xml | 32 -------- 3 files changed, 85 insertions(+), 32 deletions(-) create mode 100644 checkstyle/import-control-group-coordinator.xml diff --git a/build.gradle b/build.gradle index 1bdf8f36ed7..4134073b0aa 100644 --- a/build.gradle +++ b/build.gradle @@ -1360,6 +1360,10 @@ project(':group-coordinator') { enabled = false } + checkstyle { + configProperties = checkstyleConfigProperties("import-control-group-coordinator.xml") + } + task processMessages(type:JavaExec) { mainClass = "org.apache.kafka.message.MessageGenerator" classpath = configurations.generator diff --git a/checkstyle/import-control-group-coordinator.xml b/checkstyle/import-control-group-coordinator.xml new file mode 100644 index 00000000000..c7e1202d92c --- /dev/null +++ b/checkstyle/import-control-group-coordinator.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/checkstyle/import-control.xml b/checkstyle/import-control.xml index 71cb83dab8f..b44a2eb79d3 100644 --- a/checkstyle/import-control.xml +++ b/checkstyle/import-control.xml @@ -234,38 +234,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -