https://kotlinlang.org logo
#detekt
Title
# detekt
j

Jukka Siivonen

09/17/2018, 11:26 AM
what is proper way to fix this?
s

seb

09/17/2018, 1:00 PM
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

09/17/2018, 4:01 PM
Maintainer here That's definitely a bug. Could you please create an issue with your environment? This will help to investigate this issue.
j

Jukka Siivonen

09/17/2018, 4:03 PM
Sure, I'll report tomorrow
I'm using RC8
s

seb

09/18/2018, 8:21 AM
Looks like it. Can you try RC9?
s

schalkms

09/18/2018, 8:48 PM
This looks like the same problem, but please verify if this problem persists with RC9
j

Jukka Siivonen

09/19/2018, 6:42 AM
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

schalkms

09/19/2018, 8:39 AM
@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

Jukka Siivonen

09/19/2018, 9:44 AM
👍