Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Refine deprecation mechanism (#3285)

Refine deprecation mechanism


  1. … 35 more files in changeset.
Use HTTPS for links and communication to and

+review REVIEW-5132

  1. … 49 more files in changeset.
Add a little more coverage.

Restrictions on option names.

Only alphanumeric characters, '-', '_' are supported in option names now.

'?' is added as an exception for help option.

  1. … 1 more file in changeset.
Use Pattern.DOTALL to ensure that newlines are handled in options.

  1. … 3 more files in changeset.
Removed (unused) feature that maps a command line option to a command, and added the ability to specify a group of mutually-exclusive command-line options.

  1. … 3 more files in changeset.
REVIEW-485 Removed explicit validation of short options for the task command line options. We'll have a much better solution soon.

  1. … 5 more files in changeset.
REVIEW-112 Moved the responsibility of validating cmd line options to the CommandLineParser.

  1. … 7 more files in changeset.
Added some test coverage.

Renamed experimental to incubating in the CLI parser.

  1. … 3 more files in changeset.
Fix for broken unit test.

- Added CommandLineOption.experimental flag and updated command-line converters to use this. - Deprecated --embedded, with no replacement.

  1. … 4 more files in changeset.
GRADLE-1871 - when accepting unknown arguments on the CLI, don't try and parse each character as an option.

  1. … 2 more files in changeset.
Use the cli project within the wrapper to standardise argument parsing.

This includes:

• Extracting parsing of system properties into a standalone converter (used by wrapper and core)

• Changing the wrapper jar to be “fat” to include the classes from cli

  1. … 11 more files in changeset.
- Moved tests for cli classes from core to cli package. - Changed convention for the groovy projects (in the gradle build) so that groovy is not included as a compile or runtime dependency when the project does not have any groovy source directories.

    • -0
    • +568
  1. … 4 more files in changeset.