Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-478

Provide declarative validation for task properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: None

      Description

      For example, most tasks have certain mandatory properties, yet our tasks are inconsistent about checking whether a given property has been specified or not, and we end up with NPEs when the tasks execute. We should make it easy to declare that a given property is mandatory, so that Gradle can take care of the validation and providing feedback to the user.

      Any validation could probably be applied to convention objects too.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adammurdoch Adam Murdoch
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: