Version 0.10.0 fails at loadKtlintReporters about dependency
See original GitHub issueWhen I run ktlintCheck, tasks fails with;
* What went wrong:
Execution failed for task ':loadKtlintReporters'.
> Could not resolve all files for configuration ':ktlint'.
> Cannot resolve external dependency com.pinterest:ktlint:0.40.0 because no repositories are defined.
Required by:
project :
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Cannot resolve external dependency com.pinterest:ktlint:0.40.0 because no repositories are defined.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16
Top Results From Across the Web
Task :loadKtlintReporters FAILED · Issue #567 - GitHub
When i replaced plugin version to 8.x.x, it works fine without error. Is there detail version compatibilty table?
Read more >android - Problems running ktlint from module - Stack Overflow
and run the task, I get this error: FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of...
Read more >io.beekeeper.gradle.plugins.dependency-updates
io.beekeeper.gradle.plugins.dependency-updates. Owner: Beekeeper. Scan dependencies in you project and check if there are new verions available.
Read more >Change Log - gradle refreshVersions - GitHub Pages
Life is too short to google for dependencies and versions. ... error. Versions Catalog migration only worked properly if you ran it twice....
Read more >com.hierynomus : smbj : 0.10.0 - Maven Central
com.hierynomus:smbj 0.10.0. content_copy. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@frett on a side note - I also advice you to fully migrate into
plugins { .. }
approach and drop usages ofclasspath
. For Android plugins you could use following approach: https://github.com/JLLeitschuh/ktlint-gradle/blob/83e51ee716dc41781106555eb5f0f53d3dedda80/settings.gradle.kts#L9-L16Check second question in faq for reasoning behind.
@frett in your case adding:
fixes the issue.