saker.build
saker.build copied to clipboard
Warn about unrecognized build task input parameters
If an input parameter is specified for a build task, and that task doesn't recognize that parameter, a warning should be issued during build.
This should be done by enhancing the TaskUtils.initParametersOfTask
method to warn about the unrecognized parameters.
This enhancement is only applicable if a task uses the default parameter initializing behaviour specified by TaskUtils
(I.e. the @SakerInput
and related annotations). If a task initializes the parameters manually by overriding ParameterizableTask.initParameters
, then it is the responsibility of the task to issue warnings.
The issued warnings should report the position of the build task in the script.