Updated the kotlinlang version url. (#115782)
* Updated the kotlinlang version url. * fixed format for test
This commit is contained in:
@@ -552,7 +552,7 @@ final GradleHandledError incompatibleKotlinVersionHandler = GradleHandledError(
|
||||
.childFile('build.gradle');
|
||||
globals.printBox(
|
||||
'${globals.logger.terminal.warningMark} Your project requires a newer version of the Kotlin Gradle plugin.\n'
|
||||
'Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then update ${gradleFile.path}:\n'
|
||||
'Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update ${gradleFile.path}:\n'
|
||||
"ext.kotlin_version = '<latest-version>'",
|
||||
title: _boxTitle,
|
||||
);
|
||||
|
||||
@@ -26,7 +26,7 @@ import 'android_sdk.dart';
|
||||
//
|
||||
// For more information about the latest version, check:
|
||||
// https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
|
||||
// https://kotlinlang.org/docs/gradle.html#plugin-and-versions
|
||||
// https://kotlinlang.org/docs/releases.html#release-details
|
||||
const String templateDefaultGradleVersion = '7.5';
|
||||
const String templateAndroidGradlePluginVersion = '7.2.0';
|
||||
const String templateDefaultGradleVersionForModule = '7.2.0';
|
||||
|
||||
@@ -931,12 +931,12 @@ Execution failed for task ':app:generateDebugFeatureTransitiveDeps'.
|
||||
testLogger.statusText,
|
||||
contains(
|
||||
'\n'
|
||||
'┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐\n'
|
||||
'│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │\n'
|
||||
'│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then │\n'
|
||||
'│ update /android/build.gradle: │\n'
|
||||
"│ ext.kotlin_version = '<latest-version>' │\n"
|
||||
'└──────────────────────────────────────────────────────────────────────────────────────────────┘\n'
|
||||
'┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐\n'
|
||||
'│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │\n'
|
||||
'│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │\n'
|
||||
'│ update /android/build.gradle: │\n'
|
||||
"│ ext.kotlin_version = '<latest-version>' │\n"
|
||||
'└────────────────────────────────────────────────────────────────────────────────────────────┘\n'
|
||||
)
|
||||
);
|
||||
}, overrides: <Type, Generator>{
|
||||
|
||||
Reference in New Issue
Block a user