Protect flutter analyze --suggestions from erroring on missing AGP value. (#137719)

Fixes #137600 
Protect flutter analyze --suggestions from null error when AGP value is missing
Update template with a reference to new agp definition location 
Look for AGP version being set in settings.gradle (change to templates happened in dbe0ccd885 (diff-20537fb84ee37894a3f3d9723a06bcf2674290ee25aa83332c2524a1f7546a6d)
This commit is contained in:
Reid Baker
2023-11-02 17:14:58 -04:00
committed by GitHub
parent 969a8750a5
commit 4d21a026e5
6 changed files with 144 additions and 18 deletions

View File

@@ -6,6 +6,7 @@ buildscript {
}
dependencies {
// AGP version is set in settings.gradle.
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

View File

@@ -6,6 +6,7 @@ buildscript {
}
dependencies {
// AGP version is set in settings.gradle.
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}