According to the docs, the kotlin plugin automatically adds it as a implementation dependency.
Now, the problem is that have a dependency with kotlin on it, and I want to use that dependency’s kotlin stdlib.
How would I do that? Currently I have the stdlib as a dependency as follows:
compileOnly(kotlin("stdlib-jdk8"))
But it doesn’t really do anything since the plugin automatically adds it as an implementation. Adding:
kotlin.stdlib.default.dependency=false
To gradle.properties, as suggested by the docs, did not work.
Thanks!
submitted by /u/-Gameoholic-
[link] [comments]