dejan2609 commented on pull request #10466: URL: https://github.com/apache/kafka/pull/10466#issuecomment-821841078
So, I started to abandon quick and dirty solution and to lean towards something heavier (i.e. to a some form of refactoring): - https://discuss.gradle.org/t/gradle-support-for-cyclic-dependencies/14355/2 - https://stackoverflow.com/questions/38062841/how-to-resolve-circular-dependency-in-gradle/38063421#38063421 - https://stackoverflow.com/questions/58178381/resolve-circular-dependency-in-gradle/58186686#58186686 Gradle introduced new thing (among many others): `java-test-fixtures` plugin (that goes hand in hand with `java-library') that is able to fine-grain test related dependency configurations: - https://docs.gradle.org/6.8.3/userguide/java_testing.html#declaring_dependencies_of_test_fixtures (some browsers show page bottom... in that case scroll up to **_"Declaring dependencies of test fixtures"_*) - https://stackoverflow.com/questions/5644011/multi-project-test-dependencies-with-gradle/60138176#60138176 - https://stackoverflow.com/questions/64133013/gradle-test-fixtures-plugin-and-core-module-dependencies - https://stackoverflow.com/questions/5144325/gradle-test-dependency/66138658#66138658 -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org