pavlospt
09/16/2018, 11:25 PMinput = "${rootProject.projectDir}/app/","${rootProject.projectDir}/modules/" and it worked perfectly. But now it even though i am using files() it tries to do a weird concatenation between those paths and fails to run.mauin
09/17/2018, 5:40 AMfiles to take multiple arguments. So files("/path/to/first/sources", "path/to/sources") should work.
See: https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#files-java.lang.Object...-pavlospt
09/17/2018, 6:42 AMpavlospt
09/17/2018, 6:42 AMmauin
09/17/2018, 6:44 AMpavlospt
09/17/2018, 6:45 AMpavlospt
09/17/2018, 6:48 AMpavlospt
09/17/2018, 6:48 AMpavlospt
09/17/2018, 6:49 AMmauin
09/17/2018, 6:50 AMmauin
09/17/2018, 6:52 AMdetekt configuration in your build.gradle file?
Can you maybe also add a debug = true to the detekt {} closure and print the arguments we're passing to the CLI? Maybe there are some hints showing thenpavlospt
09/17/2018, 7:04 AMpavlospt
09/17/2018, 7:53 AM--input, /absolute/path/to/app:/absolute/path/to/modulesmauin
09/17/2018, 8:04 AM,? That looks a bit weirdmauin
09/17/2018, 8:04 AM: should be fine. That's pretty much how I'd expect it to workpavlospt
09/17/2018, 8:06 AMpavlospt
09/17/2018, 8:06 AM: happens thoughpavlospt
09/17/2018, 8:06 AM, i think is for printing purposesmauin
09/17/2018, 8:07 AMmauin
09/17/2018, 8:07 AMpavlospt
09/17/2018, 8:07 AM: was removed as it was causing issues on Windows, as I saw on a commit. Might need to check what other changes this introducedpavlospt
09/17/2018, 8:08 AMmauin
09/17/2018, 8:08 AMpavlospt
09/17/2018, 8:09 AMpavlospt
09/17/2018, 8:12 AMmauin
09/17/2018, 8:17 AMpavlospt
09/17/2018, 8:19 AMmauin
09/17/2018, 8:19 AMpavlospt
09/17/2018, 8:20 AMpavlospt
09/17/2018, 9:03 AMmauin
09/17/2018, 9:07 AMpavlospt
09/17/2018, 9:08 AMmauin
09/17/2018, 9:11 AMpavlospt
09/17/2018, 9:12 AMmauin
09/17/2018, 9:13 AMpavlospt
09/17/2018, 9:15 AMmauin
09/17/2018, 9:17 AMtoolVersion in the detekt closure to also target RC8 that should workpavlospt
09/17/2018, 9:19 AM