Open sideeffffect opened 3 years ago
Gradle added toolchain support in 6.7 but it only supports Adopt. You could reach out to them as well and ask them to use the Disco API instead for support of all distributions.
There is a PR that (if approved) would probably make it possible to provide JDKs to the gradle toolchain using disco.
I am the creator of https://project-env.io, a small project for myself and some friends, which is automating the setup of development tools in projects we are working on. Your API seems to be the perfect replacement for my hacky URL interpolation solution. Thank you for your awesome work!
Hello, I've recently forked Jabba into an organisation on Github as it's original repo isn't getting much love. I'm hoping to get DiscoAPI in to replace it's autodisovery & I thought I'd introduce myself here
Hi there, sounds great. Let me know in case you need help.
Hi @patrick-mccourt ! I would like to use the new Jabba-Team index. Which one is the correct one?
https://github.com/Jabba-Team/jabba-index/blob/feat/discovery/index.json https://github.com/Jabba-Team/jabba/blob/main/index.json https://github.com/Jabba-Team/jabba/blob/fix/build/index.json
Hi @sideeffffect short answer is there isn't a working one yet. I have only dabbled a little bit in getting Jabba running again and haven't got a working release yet. I can let you know when there is one
There is also this project: https://github.com/typelevel/jdk-index
Which provides an up to date Jabba Compatible Index
Hi @sideeffffect,
I've finally gotten around to looking at this and I've produced a new index file using a little DiscoAPI node app I threw together. My main goal was keeping the index compatible with existing Jabba installs so I ended up hacking the output to rename things to what the mighty Jabba expects them to be.
I have tested it a little bit myself on Linux x64 but not thoroughly enough for me to say it's definitely working, hence this being marked as a pre-release. I'll be trying out what other platforms I can and will 'release' it fully as soon as I'm confident, the latest index is here:
https://github.com/Jabba-Team/jabba/blob/main/index.json
Also just to say, thanks to all involved with DiscoAPI, super easy to work with and get what I needed from it.
Nice 👍🏻
Gradle added toolchain support in 6.7 but it only supports Adopt. You could reach out to them as well and ask them to use the Disco API instead for support of all distributions.
Now there is: https://github.com/gradle/foojay-toolchains
Not a potential user, but an alternative JDK metadata services: