Updated the kotlinlang version url. (#115782)

* Updated the kotlinlang version url.

* fixed format for test
This commit is contained in:
gaaclarke
2022-11-21 13:47:25 -08:00
committed by GitHub
parent 13012082a7
commit 2b0c895fa1
3 changed files with 8 additions and 8 deletions

View File

@@ -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,
);

View File

@@ -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';

View File

@@ -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>{