question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Referring to custom detekt.yml config results in InvalidPathExceptionon Windows

See original GitHub issue

As 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:closed
  • Created 6 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
arturboschcommented, Jun 23, 2017

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!

0reactions
lock[bot]commented, Jun 20, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found