Hi all, I have a question RE Gradle + Kotlin, x-po...
# getting-started
j
Hi all, I have a question RE Gradle + Kotlin, x-posting here as I got no response in the gradle channel :(
🚫 2
@ephemient @Jacob Could you please elaborate rather than just leaving a "No" emoji?
🧌 2
🚫 1
h
I'm only a Maven luser, but I think that Gradle plugins are for the build and dependencies are for your app…?
🤔 1
e
no, it's not redundant
the plugin automatically adds a fitting stdlib dependency but that doesn't help align other dependencies like a bom does
👍 1
j
Interesting, because I did some experiment by removing the kotlin-bom dependency and only having the kotlin plugin, and any kotlin dependency I installed matched the version of the kotlin plugin always. That's why I wondered if it was redundant or not.
j
@ephemient reflect library doesn’t need the version too if you use the gradle plugin version, not sure what libs are included in the bom tho
👍 1
I think all those libraries can work without indicating the version and letting get it from the plugin one
so I think it is safe to remove the bom and just doesn’t set the version in the implementation
e
no, because they may be indirect dependencies
👍 2