Does the `kotlin` plugin automatically add depende...
# gradle
f
Does the
kotlin
plugin automatically add dependencies to the Kotlin standard library when adding the plugin to a Java project? I just had the case, where our Android build's custom linter rules module leaked the standard library (as public module dependency), since the
kotlin-stdlib
dependency implicitly came from "somewhere". Explicitly stating the standard library as
compileOnly
dependency, configured Gradle to filter it away from the API/metadata configurations, and stopped leaking it.
👌 2
v
Since 1.4 yes
As long as you didn't add a dependency manually
But you can also completely disable that
f
Aha! Awesome, thanks for the confirmation! 🙏
I'll start reading the changelog more carefully from now on 🙈