melix commented on issue #1023: Avoid deprecated `compile` and `testCompile`
URL: https://github.com/apache/groovy/pull/1023#issuecomment-544123914
 
 
   You can't just replace `compile` with `implementation`. That's a good step, 
but it's not sufficient. The error you are seeing is a good one because it 
indicates what transitive compile dependencies are missing.
   
   As the documentation states, `compile` must be replaced _either_ by `api` or 
`implementation`. The difference is whether the dependency "leaks" into the 
public API of your library or not. For example, if classes of a dependency are 
in the public signatures, superclasses, ... then it _must_ be declared as an 
API dependency (this dependency is effectively part of your API, similarly to 
`require transitive` in JPMS).
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to