Gradle - difference between implementation and runtime
问题 Having read this Gradle documentation I understand the difference between api and implementation . However I'd like to know if there's a difference between implementation and the deprecated runtime . According to this table there is no difference in behavior, but using runtime in practice seems to "leak" the compile classpath when I was trying it out and so the classes I was trying to hide was actually being exposed to the consuming module. 回答1: implementation dependencies are added to the