-
-
Notifications
You must be signed in to change notification settings - Fork 107
Troubleshooting
Jean-Michel Fayard edited this page Sep 14, 2022
·
3 revisions
Common errors you may encounter with refreshVersions and you can fix them
See https://github.com/jmfayard/refreshVersions/issues/609
- When: using the Groovy DSL
- Issue: no auto-completion, symbols marked as unresolved
- Reproducing steps: https://github.com/jmfayard/refreshVersions/commit/4aa9f00707a56e6ddf6db0fe527298f11a7272a7
Solution: https://jmfayard.github.io/refreshVersions/setup/#if-you-use-groovy-dsl-ie-buildgradle-files-not-kts
$ ./gradlew compileKotlin
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.apache.poi:poi:_.
- Reproducing steps: https://github.com/jmfayard/refreshVersions/commit/74697b49c8a0c7c51921fdbb91c2dd30dad92352
- Stacktrace https://scans.gradle.com/s/77ijrlpzd2kby/failure#1
Solution
- Don't use
resolutionStrategy
with refreshVersions for now https://github.com/jmfayard/refreshVersions/issues/541 - Anything else?