This is probably not the right channel/Slack, but ...
# gradle
d
This is probably not the right channel/Slack, but what's the difference between an implementation and a runtimeOnly dependency?
stackoverflow 3
google 2
p
implementation is on the classpath while compiling, runtimeOnly isn't. So if you want to reference any classes from your dependency in your code you have to use implementation or it would fail complaining ~"class not found"
d
ahh I see, so I suppose a runtimeOnly dependency is only useful when using reflection
✔️ 1
m
not just reflection, but also
ServiceLoader
style code too