Can you give more details? What is the error you'r...
# refreshversions
m
Can you give more details? What is the error you're seeing?
c
After I execute
./gradlew refreshVersions
everything looks good but I cannot find the new dependency in the file created by the plugin
l
What "everything looks great" mean if you're not seeing the expected update? Which repository is the update on? Do you have internet turned on? (Network errors are currently silently ignored, will be fixed…)
c
I said "looks good", means is that: • I don't see any error in the console • the
versions.properties
is create and updated
I don't see any change in the Libs.kt file though (I'm talking of the latest version)
if instead I use the version
0.7.0
, I get this error:
Copy code
* What went wrong:
Execution failed for task ':buildSrcVersions'.
> Cannot serialize Kotlin type de.fayard.internal.BuildSrcVersionsExtensionImpl. Reflective serialization of Kotlin classes without using kotlin-reflect has undefined and unexpected behavior. Please use KotlinJsonAdapter from the moshi-kotlin artifact or use code gen from the moshi-kotlin-codegen artifact.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.2.1/userguide/command_line_interface.html#sec:command_line_warnings>
l
You're using buildSrcVersions, not refreshVersions as far as I can see. The former has been replaced with the latter.