fmd
11/09/2020, 4:01 PMkotlin
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.Vampire
11/09/2020, 4:05 PMVampire
11/09/2020, 4:06 PMVampire
11/09/2020, 4:06 PMVampire
11/09/2020, 4:06 PMfmd
11/09/2020, 4:12 PMfmd
11/09/2020, 4:12 PM