dejan2609 edited a comment on pull request #10466:
URL: https://github.com/apache/kafka/pull/10466#issuecomment-821837798


   Digging through project history I managed to find some commits that are 
seems to be related (see the comment):
   
   ```
   project(':streams') {
     dependencies {
       api project(':clients')
   ....
       // testCompileOnly prevents streams from exporting a dependency on 
test-utils, which would cause a dependency cycle
       testCompileOnly project(':streams:test-utils')
   ....
   
       testRuntimeOnly project(':streams:test-utils')
     }
   ....
   }
   ```
   @vvcephei contributed two PRs (#4821 and #4812) 3 years ago and these are 
related commits:
   - **05. Apr 2018**. 
https://github.com/apache/kafka/commit/d5db4e9b8055536bdbb3b2d2308e36efa4abafcc
   - **23. Apr 2018.** 
https://github.com/apache/kafka/commit/ed51b2cdf5bdac210a6904bead1a2ca6e8411406
   
   Out of curiosity I tried to consolidate these dependency into one 
`testImplementation project(':streams:test-utils')` and here are the results:
    - on top of trunk: build works fine ✔️ 
    - on top of this PR: build fails ❌ (with identical `Circular dependency 
between the following tasks` error as above)


-- 
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


Reply via email to