ive been running into the following issue this wee...
# apollo-kotlin
j
ive been running into the following issue this weekend, this might be a more android studio ish question but on my mac I have no problems syncing and running a clean build, but on my windows machine, only since this weekend, I cant. I keep getting the error:
Copy code
plugin [id: 'com.apollographql.apollo3', version: '3.1.0'] was not found in any of the following sourcess
org.gradle.api.UnknownPluginException
I checked my gradle versions and they both are the same on my mac as my windows machine... im not really sure what im doing wrong.
m
Interesting... Does it say something more about the repositories it's looking in?
The plugin is published to both mavenCentral and gradlePluginPortal
j
it does not... I was hoping maybe this was just one of those ones people are familiar with or something... ill keep looking on my end, some setting must be off.
m
Maybe try to define your repos explicitly in your 'pluginManagement' block ?
That error should have more details. It's weird if you don't. Also try from the windows command line too ?
j
got it. for some reason, gradle was trying to connect using a proxy- despite the settings for proxy being no proxy in the settings
i openned up the port and just forwarded the traffic thru and it was ok, but I was not able to make it stop trying to connect thru a proxy
🤷‍♂️
🤷 2