Referring to custom detekt.yml config results in InvalidPathExceptionon Windows
See original GitHub issueAs started to discuss here, M12 results in
:detektCheckException in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 51:
C:\Users\sebastian\Development\project\detekt.yml,C:\Users\sebastian\Development\project\detekt.yml
when using
detekt {
profile('main') {
config = "${new File(project.projectDir, "detekt.yml")}"
}
}
on Windows.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Detekt Configuration File
Detekt Configuration File. detekt uses a YAML style configuration file for various things: rule set and rule properties; build failure; console reports ...
Read more >Detekt does not allow me to commit even though it formats the ...
I'm trying to integrate Detekt with pre-commit git hook into my project. ... setFrom("$rootDir/config/detekt/detekt.yml") } dependencies ...
Read more >Preventing software antipatterns with Detekt
This post talks about how I used Detekt for non-trivial, systematic improvements to code quality, using custom Detekt rules.
Read more >Integrating detekt in the Workflow - RayWenderlich.com
You can customize detekt.yml according to your project requirements. For this specific configuration to be read by detekt, you'll need to add ...
Read more >How to use detekt on a daily basis (in a multi module Android ...
Recently I was configuring detekt in our multi-module project. To make it easier to pass knowledge about using it I wrote this article....
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
Appveyor up and running. Resolved all Path problems. detekt is now buildable on Windows. The cli still has some trouble with paths in the parameters. Will keep you updated!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.