HelpTaskIntegrationTest

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Polish new command line options functionality (#4052)

    • -22
    • +0
    ./sortsOptionsBySpecifiedOrder/build.gradle
    • -0
    • +22
    ./sortsOptionsInAlphabeticOrder/build.gradle
  1. … 14 more files in changeset.
Expose public API for defining command line options for tasks (#4040)

    • -2
    • +2
    ./listsCommonDynamicAvailableValues/build.gradle
    • -1
    • +1
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
    • -1
    • +1
    ./sortsOptionsBySpecifiedOrder/build.gradle
  1. … 39 more files in changeset.
Allow specifying custom order of task options in help command output

This change was driven by the need to display more important option of build init plugin first.

    • -2
    • +2
    ./listsCommonDynamicAvailableValues/build.gradle
    • -0
    • +22
    ./sortsOptionsBySpecifiedOrder/build.gradle
  1. … 11 more files in changeset.
REVIEW-3518 show intersection of valid values, not the union.

    • -0
    • +21
    ./listsCommonDynamicAvailableValues/build.gradle
    • -0
    • +18
    ./listsCommonDynamicAvailableValues/settings.gradle
    • -19
    • +0
    ./listsDynamicAvailableValues/build.gradle
  1. … 4 more files in changeset.
REVIEW-3510 change String[] Option.options() to String Option.option()

    • -1
    • +1
    ./listsDynamicAvailableValues/build.gradle
    • -2
    • +2
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
  1. … 12 more files in changeset.
Add support for option annotation on fields

- support annotating fields

- defaults to field name when options not set

- move option related methods into seperate package

- cache static information about parsed classes in OptionReader

- TODO move assertion on valid method type into MethodOptionElement

- TODO add assertion on valid option field type into FieldOptionElement

- TODO throw decent exception when option.description not set. currently it's optional

- TODO throw decent exception when option.options not set when annotated on methods

- MAYBE: calculate option name on methods (e.g. setName -> option name name)

    • -2
    • +3
    ./listsDynamicAvailableValues/build.gradle
    • -1
    • +1
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
  1. … 25 more files in changeset.
rename commandlineoption annotation to option annotation; to be used for more general purposes than just passing commandline options in the future

    • -1
    • +3
    ./listsDynamicAvailableValues/build.gradle
    • -2
    • +4
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
  1. … 22 more files in changeset.
Add support for dynamically looking up possible option values - add optionValues annotation to mark methods providing default values - add optionValues to InitBuild task to list possible project layouts

    • -0
    • +16
    ./listsDynamicAvailableValues/build.gradle
    • -1
    • +3
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
    • -0
    • +2
    ./listsEnumAndBooleanCmdOptionValues/settings.gradle
  1. … 10 more files in changeset.
show enum option value in help on task

    • -0
    • +19
    ./listsEnumAndBooleanCmdOptionValues/build.gradle
  1. … 2 more files in changeset.
REVIEW-3402: report DefaultTask just as Task; inline small build script snippets instead of using testresources

    • -3
    • +0
    ./matchingTasksOfSameType/build.gradle
    • -1
    • +0
    ./matchingTasksOfSameType/settings.gradle
    • -9
    • +0
    ./multipleMatchingTasksOfDifferentType/build.gradle
    • -1
    • +0
    ./multipleMatchingTasksOfDifferentType/settings.gradle
  1. … 2 more files in changeset.
tweaked help message for multiple tasks with same type but different descriptions

    • -0
    • +3
    ./matchingTasksOfSameType/build.gradle
    • -0
    • +1
    ./matchingTasksOfSameType/settings.gradle
    • -3
    • +0
    ./multipleMatchingTasksOfSameType/build.gradle
    • -1
    • +0
    ./multipleMatchingTasksOfSameType/settings.gradle
  1. … 2 more files in changeset.
Add basic support for task specific help support

- introduced --task commandline option for Help task

- lists all matching task names in subprojects

- todo some cleanup on TaskDetailPrinter needed

    • -0
    • +9
    ./multipleMatchingTasksOfDifferentType/build.gradle
    • -0
    • +1
    ./multipleMatchingTasksOfDifferentType/settings.gradle
    • -0
    • +3
    ./multipleMatchingTasksOfSameType/build.gradle
    • -0
    • +1
    ./multipleMatchingTasksOfSameType/settings.gradle
  1. … 4 more files in changeset.