what is proper way to fix this?
# detekt
j
what is proper way to fix this?
s
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
Maintainer here That's definitely a bug. Could you please create an issue with your environment? This will help to investigate this issue.
j
Sure, I'll report tomorrow
I'm using RC8
s
Looks like it. Can you try RC9?
s
This looks like the same problem, but please verify if this problem persists with RC9
j
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
Copy code
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
@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.
j
👍