• 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
..
.idea Loading commit data...
android-java.tmpl Loading commit data...
android-kotlin.tmpl Loading commit data...
android.tmpl Loading commit data...
ios-objc.tmpl Loading commit data...
ios-swift.tmpl Loading commit data...
ios.tmpl Loading commit data...
linux.tmpl Loading commit data...
macos.tmpl Loading commit data...
web Loading commit data...
windows.tmpl Loading commit data...
.gitignore.tmpl Loading commit data...
analysis_options.yaml.tmpl Loading commit data...
projectName.iml.tmpl Loading commit data...