Nikky
11/10/2020, 4:11 PMorg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':refreshVersions'.
Caused by: java.lang.IllegalArgumentException: Cannot get version candidates with an empty fetchers list.
louiscad
11/10/2020, 4:15 PMon androidStudio it does not work at all.. a different dependency seems to helpI'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.Nikky
11/10/2020, 4:18 PMdependencies.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
Nikky
11/10/2020, 5:07 PMAn 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 rootProjectNikky
11/10/2020, 5:07 PMNikky
11/10/2020, 5:09 PMplugin.com.android.application=4.0.2
to versions.properties it now says it tries to load version nullNikky
11/10/2020, 5:10 PM_
in plugins block yet ?Nikky
11/10/2020, 5:11 PMlouiscad
11/10/2020, 5:13 PMcan i useIt'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 undocumentedin plugins block yet ?_
plugin.android
or use the 4.1 (or 4.2 I don't recall) plugin ids recently properly published for the plugins DSL.