gradle-doctor icon indicating copy to clipboard operation
gradle-doctor copied to clipboard

Turn GradleDaemon checker to warning

Open emartynov opened this issue 5 years ago • 2 comments

This is great to know multiple daemons are run.

But often I have some incompatible runners - AS is still finishing something I want to run extra task from the console, I work on gradle upgrade, etc.

It would be great to have possibility to turn it from error to warning.

emartynov avatar Feb 07 '20 11:02 emartynov

@runningcode I can contribute fix to this next, but i want to know your opinion about config format and backward compatibility.

i propose format like:

doctor {
    multipleDaemons.set(error/warn/disable) (enum from plugin classpath)
}

old disallowMultipleDaemons would be effectively ignored right after introducing new property? Or should new property be optional with null value by default?

dsvoronin avatar Oct 21 '21 19:10 dsvoronin

Thanks for all the suggestions. I like the idea of a warning. I am not worried about backward compatibilty for this feature. I don't think it is widely used especially given that it is a common use case to run multiple Gradle projects on the same machine.

runningcode avatar Oct 22 '21 12:10 runningcode