trying to use the gcs thing via jitpack.. on andro...
# refreshversions
n
trying to use the gcs thing via jitpack.. on androidStudio it does not work at all.. a different dependency seems to help but then it runs into the issue of not recognizing version in a non android project i tried it and it seems to wrk.. but this error gets thrown:
Copy code
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':refreshVersions'.
Caused by: java.lang.IllegalArgumentException: Cannot get version candidates with an empty fetchers list.
l
@Nikky
on androidStudio it does not work at all.. a different dependency seems to help
I'm a little lost about what you mean exactly and what you tried. Now, I'm familiar with the error you mentioned, and it's probably because of how the plugin is configured. It'll be soon impossible to get that error, but for the time being, I'll need to see how it's all configured in your
settings.gradle[.kts]
file to help.
n
this seems to work partially:
Copy code
dependencies.classpath("com.github.jmfayard.refreshVersions:refreshVersions:feature~gcs-SNAPSHOT")
with
com.github.jmfayard:refreshVersions:PR284-SNAPSHOT
this happens:

https://i.imgur.com/tzIf9mX.png

com.google.common.base.Suppliers$NonSerializableMemoizingSupplier cannot be cast to java.util.function.Supplier
Copy code
An exception occurred applying plugin request [id: 'com.android.application', artifact: 'com.android.tools.build:gradle:null']
> Failed to apply plugin 'com.android.internal.application'.
   > com.google.common.base.Suppliers$NonSerializableMemoizingSupplier cannot be cast to java.util.function.Supplier
this seems wrong.. i apply the android plugins with provided version in the rootProject
why is it breaking as soon as i add refreshVersions ?
if i remove the version from the plugins block and add
Copy code
plugin.com.android.application=4.0.2
to versions.properties it now says it tries to load version null
can i use
_
in plugins block yet ?
ohh i remember there was some issue mixing pluginManagement and using refreshVersions for plugins
l
can i use 
_
 in plugins block yet ?
It's currently impossible, you need to not specify the version instead. Also, there's no proper gradle plugin with that id. You probably want to use our undocumented
plugin.android
or use the 4.1 (or 4.2 I don't recall) plugin ids recently properly published for the plugins DSL.