Gradle buildSrcVersions v0.21.0 Release Notes

Release Date: 2021-09-07 // over 2 years ago
  • ๐Ÿ†• New feature

    ๐Ÿ‘ We now support npm dependencies for Kotlin/JS!

    Just put the version placeholder (_) in place of the version, and you're good to go.

    ๐Ÿ›  The version keys follow a simple naming scheme where their id is prefixed with npm, here are two examples:

    • version.npm.react=17.0.2
    • version.npm.@googlemaps/js-api-loader=1.12.2

    Special thanks to NikkyAI who authored the feature, and pair-programmed with us to refine it!

    ๐Ÿ‘Œ Improvements

    ๐Ÿš€ Before this release, when we added new dependency notations and shorter version keys, it could lead to an unwanted upgrade of the dependency in the project upgrading refreshVersions. With this release, we make sure to copy the same version if we add or change the version key, and it will also work if we decide to remove one. This ensures that upgrading refreshVersions will not be able to affect your application or library.

    Thanks to Brady Aiello from Touchlab for helping out via pair-programming!

    ๐Ÿ†• New dependency notations:

    • Koin (new group with several dependencies)
    • Touchlab.stately (new group with several dependencies)
    • RussHWolf.multiplatformSettings (new group with several dependencies)

    Thanks to Brady Aiello again, who contributed to these new dependency notations!