Join Slack
Menu
Home
Archive
Do we need to include the kotlin std library in our gradle dependencies if we're using kotlin gradle...
# gradle
s
Scott Kruse
11/18/2021, 6:43 PM
Do we need to include the kotlin std library in our gradle dependencies if we're using kotlin gradle plugin? does the plugin know which std lib to load based on the jvmTarget we set in kotlinOptions? Currently the android app's minSdk is 24
c
Casey Brooks
11/18/2021, 6:47 PM
Since Kotlin 1.4.0, the Gradle plugin will add the correct stdlib dependency for you
https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default
🔥 2
s
Scott Kruse
11/18/2021, 6:50 PM
Thank you for confirming 👍
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by