Thread
#detekt
    Jukka Siivonen

    Jukka Siivonen

    4 years ago
    what is proper way to fix this?
    seb

    seb

    4 years ago
    Can you open an issue on the repo writing the version of Detekt you’re using please? Will try to look into it later
    s

    schalkms

    4 years ago
    Maintainer here That's definitely a bug. Could you please create an issue with your environment? This will help to investigate this issue.
    Jukka Siivonen

    Jukka Siivonen

    4 years ago
    Sure, I'll report tomorrow
    I'm using RC8
    seb

    seb

    4 years ago
    Looks like it. Can you try RC9?
    s

    schalkms

    4 years ago
    This looks like the same problem, but please verify if this problem persists with RC9
    Jukka Siivonen

    Jukka Siivonen

    4 years ago
    I can't because I don't know how to fix my Gradle setup, RC8 and RC9 works differently than RC7-3 I'm using when it comes to Gradle
    Could not find gradle.plugin.io.gitlab.arturbosch:detekt-gradle-plugin:1.0.0.RC9.
         Searched in the following locations:
             <https://jcenter.bintray.com/gradle/plugin/io/gitlab/arturbosch/detekt-gradle-plugin/1.0.0.RC9/detekt-gradle-plugin-1.0.0.RC9.pom>
             <https://jcenter.bintray.com/gradle/plugin/io/gitlab/arturbosch/detekt-gradle-plugin/1.0.0.RC9/detekt-gradle-plugin-1.0.0.RC9.jar>
    s

    schalkms

    4 years ago
    @Jukka Siivonen thanks for helping out. I wrote a unit test with your code snippet. The result was as expected. Your code was not reported with the current master branch state.
    Jukka Siivonen

    Jukka Siivonen

    4 years ago
    👍