divijvaidya commented on PR #13854: URL: https://github.com/apache/kafka/pull/13854#issuecomment-1594554215
I just encountered another idea. Just put `rat.dependsOn compileJava` at https://github.com/apache/kafka/blob/e1d59920f4fed5c4bc890e53e249d3439e148bab/build.gradle#L211 You can verify the dependency using: ``` $ ./gradlew rat --dry-run > Configure project : Starting build with version 3.6.0-SNAPSHOT (commit id cabd6d2e) using Gradle 8.1.1, Java 17 and Scala 2.13.10 Build properties: maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0 :compileJava SKIPPED :rat SKIPPED ``` and compileJava depends on processMessages using ``` $ ./gradlew compileJava --dry-run | grep processMessages :clients:processMessages SKIPPED :core:processMessages SKIPPED :group-coordinator:processMessages SKIPPED :metadata:processMessages SKIPPED :raft:processMessages SKIPPED :storage:processMessages SKIPPED :streams:processMessages SKIPPED ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org