• Reid Baker's avatar
    Update getGradleVersion to ignore commented out lines (#124260) · 7a791b5d
    Reid Baker authored
    https://github.com/flutter/flutter/issues/123917
    Missed feedback from https://github.com/flutter/flutter/pull/123916 
    
    - Handle commented out lines in gradle-wrapper.properties
    
    This is 1 of 2 prs to handle missed feedback. Formatting will be done in
    the second whereas this one captures a weakness missed in the last pr.
    
    ## Pre-launch Checklist
    
    - [x] I read the [Contributor Guide] and followed the process outlined
    there for submitting PRs.
    - [x] I read the [Tree Hygiene] wiki page, which explains my
    responsibilities.
    - [x] I read and followed the [Flutter Style Guide], including [Features
    we expect every widget to implement].
    - [x] I signed the [CLA].
    - [x] I listed at least one issue that this PR fixes in the description
    above.
    - [x] I updated/added relevant documentation (doc comments with `///`).
    - [x] I added new tests to check the change I am making, or this PR is
    [test-exempt].
    - [x] All existing and new tests are passing.
    7a791b5d
gradle_utils_test.dart 24.4 KB