-
Notifications
You must be signed in to change notification settings - Fork 360
Description
It would still be breaking, because disabledPackageManagers trumps enabledPackageManagers, so if you want to use Gradle instead of GradleInspector you would always have to overwrite disabledPackageManagers if we set Gradle as default value.
For future improvement I'm thinking if we should just get rid of those two properties altogether and instead add an enabled property to PackageManagerConfiguration which defaults to true if not set, then we could add a default value in the analyzer config like this:
packageManagers:
Gradle:
enabled: falseAnd if you want to use GradleInspector instead, you would have to configure:
packageManagers:
Gradle:
enabled: true
GradleInspector:
enabled: falseIf required, this could also be supported on the command line if we add an implementation of -P like we already have for the reporter.
Originally posted by @mnonnenmacher in #9944 (comment)