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

mauin

09/15/2018, 9:12 AM
@pavlospt What is the error you are seeing?
p

pavlospt

09/15/2018, 9:32 AM
Copy code
Task :detektCheck
Was passed main parameter '--output' but no main parameter was defined in your arg class
But I did not change anything in between to explain it!
m

mauin

09/15/2018, 9:34 AM
Which version of the Gradle plugin are you using and which toolversion did you define?
p

pavlospt

09/15/2018, 9:34 AM
Rc08 and tools are the latest
3.2-rc03
Which pulls in 28.0.2 iirc
m

mauin

09/15/2018, 9:38 AM
In your detekt closure on the build.gradle file do you define
toolVersion
?
If not that will depend on the latest version of detekt. That has changed the API and would explain that error
So either set the toolversion to RC8 or migrate the detekt Gradle plugin to the latest version. Rc9
p

pavlospt

09/15/2018, 10:43 AM
You are right, we do not specify a toolVersion. Thank you for your help
m

mauin

09/15/2018, 10:55 AM
Great. I hope everything works now 👍
👍 1
7 Views