• Gray Mackall's avatar
    [Re-land] Enforce a policy on supported Gradle, Java, AGP, and KGP versions (#143132) · 4b0abc77
    Gray Mackall authored
    Re land of https://github.com/flutter/flutter/pull/142000. 
    Differences:
    1. Fixed the test that was failing in postsubmit. The reason was that the Flutter Gradle Plugin was being applied after KGP in that test, so we couldn't find the KGP version. This caused a log, and the test expects no logs. I moved FGP to after KGP
    2. Added to the logs for when we can't find AGP. Change is from
    >  "Warning: unable to detect project AGP version. Skipping version checking."
    
    to 
    > ~"Warning: unable to detect project AGP version. Skipping version checking. \nThis may be because you have applied the Flutter Gradle Plugin after AGP."~
    
    update: the above is wrong, changed to 
    > "Warning: unable to detect project KGP version. Skipping version checking. \nThis may be because you have applied AGP after the Flutter Gradle Plugin."
    
    3. Added a note to the app-level build.gradle templates that FGP must go last
    > // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugin.
    4b0abc77
Name
Last commit
Last update
..
a11y_assessments Loading commit data...
automated_tests Loading commit data...
benchmarks Loading commit data...
bots Loading commit data...
conductor Loading commit data...
customer_testing Loading commit data...
devicelab Loading commit data...
docs Loading commit data...
forbidden_from_release_tests Loading commit data...
integration_tests Loading commit data...
manual_tests Loading commit data...
missing_dependency_tests Loading commit data...
snippets/config Loading commit data...
tools Loading commit data...
tracing_tests Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...