Róbert Papp
Róbert Papp
Earlier I was meant to send this to highlight the recommended custom task patterns: https://docs.gradle.org/current/userguide/more_about_tasks.html Notice the 0 mention of `ObjectFactory` and lots of `abstract` keywords. I found some docs...
That would explain why we didn't see it here, it might be how Spotless rewires things (because it modifies source code, it's output is also input to anything that deals...
To make sure try to force the task execution order: ```shell ./gradlew :gradle-extensions-subprojects:gradle-logging-extensions:clean :gradle-extensions-subprojects:gradle-logging-extensions:spotlessKotlin :gradle-extensions:cleanDetekt :gradle-extensions:detekt --no-configuration-cache --no-build-cache --no-parallel ``` This will make sure(r) that spotless generates the output first,...
@caiodev I think this is WAI on both detekt and Gradle side, you're declaring `source.from(files(rootProject.projectDir))`, which means "use everything" as the input, including `build` folders! So based on this info...
I ran into this twice in a year now. My utility is ```kotlin fun Throwable.withRootCause(cause: Throwable): Throwable { require(cause !in generateSequence(this) { it.cause }) generateSequence(this) { it.cause }.last().initCause(cause) return this...
Which of the two expected behaviours would you expect, @mustafaozhan (and any other watchers, if any)?
Agree with @mustafaozhan, he summed it up very nicely. No warnings necessary, because it's the wanted behaviour. I expected point 1 in OP too. `allRules` = "overlay a config where...
`allRules` could imply `buildUponDefaultConfig` *by default*, but I would imagine that ``` allRules = true buildUponDefaultConfig = false ``` may be also valid setup, albeit a bit confusing since defaults...
What's the next step here? Is this a candidate for https://github.com/detekt/detekt/milestone/42? or Can we do it in 1.x? or This is a won't fix, because ...?
@atulgpt If you meant https://github.com/detekt/detekt/issues/4753#issuecomment-1191312692, the linked PR https://github.com/TWiStErRob/net.twisterrob.cinema/pull/173 has a [commit](https://github.com/TWiStErRob/net.twisterrob.cinema/pull/173/commits/2b01c6258027f0adac3435bf91e345376fac468a) whose [build](https://github.com/TWiStErRob/net.twisterrob.cinema/runs/7447240598) found this. Navigating the build you can find the [workflow file](https://github.com/TWiStErRob/net.twisterrob.cinema/actions/runs/2711038212/workflow#L68) which refers to [this hacky...