Is there something peculiar about the way KTor is ...
# ktor
m
Is there something peculiar about the way KTor is set up in its repo? My version catalogue currently specifies 3.1.0 but Android Studio doesn't mark this as out of date, although if I reset it to 3.0.0 it tells me there is a later version, but says it's 3.1.0 not 3.1.2
v
iirc it indexes the used maven repositories. Probably that index is not up-to-date. And iirc you can force it to refresh that index. Search for "Repositories" in the settings dialog.
m
Thanks for that @Vampire. That page shows me the repos (I'm using) but I can't see how to update the index. Gemini's suggestion of using the gradle command "refresh-depencies" didn't work either. I've now included the benmanes plugin to do the checking, which seems very comprehensive. Fun fact - While hunting for info I found your question about coupled projects on the Gradle forum from 12 years ago!
v
This is not related to Gradle, using
--refresh-dependencies
just makes Gradle discard its cached information re-getting dependencies. In that view in the IDE if you select a repository the "Update" button on the right gets active. At least that's how it looks in IntelliJ IDEA on which Android Studio is based.
image.png
m
Yup, nope. I've not got a "Maven" underneath Build Tools, only Gradle. which is completely different. Gemini's suggestion seemed to be that refreshing the dependencies would cause it to re-index the repository. Apparently it doesn't.
v
Gemini - like all current "AI"s - is just a stupid text-guessing engine, not something that understands what you want or what it means. Sure it does, but Gradle does. Android Studio is what has outdated indexes. I don't know where it is in Android Studio. As I said, it is a customized IntelliJ IDEA, so no idea where Google moved it to or whether they maybe hid it what would be pretty bad for that use-case. That's why I said you should use the search. Or if it is not anywhere, ask the Android Studio support or an Android Studio / Android community. 🤷‍♂️
👍 1
m
Seems to not be anywhere.