I’m just learning about gradle “platforms” and was...
# announcements
d
I’m just learning about gradle “platforms” and was wondering if anyone aware of a community maintained gradle platform or similar that basically has every dependency you could ever want? Coming from the Haskell world we have https://www.stackage.org/ which basically gets rid of a huge amount of dependency hell.
b
Not really, but there are lots of things that make this as smooth sailing as possible. Have a look at these: https://github.com/mpetuska/kamp https://github.com/mpetuska/template-kmp-library https://github.com/jmfayard/refreshVersions There's also kotlin bom (or platform as it's called in gradle) that manages your kotlin dependencies from jb
Honestly, with refreshVersions alone the experience is excellent!
There's also a gradle "platform" for pretty much any popular framework like spring as well
Oh and there's also this still incubating https://github.com/JavierSegoviaCordoba/massive-catalogs
d
awesome thanks!
is refreshVersions somewhat replaced by gradle catalogs?
it seems the declaring versions part is
b
Yes and no.
Refresh versions aims to help you quickly get latest versions for new dependencies and easily upgrade them in the future. Catalogs, however lock you to a particular set of versions without you having to declare them
j
Catalogs allow overwrite versions too, but I am not sure if refreshVersions is going to give support to use TOML files
Louis was talking with melix about this, cc @louiscad
d
@Javier is massive catalogs intended to be a place for the community to gather versions for everything?
oh, looking at kamp I’m unsure what is what
so do you use kamp to generate massive catalogs?
b
Kamp is just a website to help you find libraries for your chosen set of kotlin platforms
j
Massive Catalogs has multiple artifacts, one of them is powered by Kamp scanner, and it has all libraries you can see in Kamp website, with the latest version
b
It's powered by generic maven repo scanner that scans mavenCentral and feeds the data into kamp. Same scanner is utilised by massive-catalogs
l
Keep in mind version catalogs in Gradle 7 are incubating. I expect to send a bunch of feedback to Gradle once I tried to integrate support for them in refreshVersions.
f
j
Yeah, because there is not an stable version yet
anyways, it is an automation, docs for this project are almost useless, all modules are "empty"
f
Just wanted to figure out more about it. 🙂
j
I was improving how I create docs, today indeed. I will try to update them in that project the next week :)
@Fleshgrinder I pushed them
👍 1