build-parameters
build-parameters copied to clipboard
Provide a way to figure out whether a parameter was used
Given I run some build like ./gradlew build -Pfoo=bar
it would be great to have a way to figure out whether buildParameters.foo
was used in this build invocation. In the first step, the plugin could log a warning pointing out that the parameter was not used, although it was passed.