Unverified Commit 2b0c895f authored by gaaclarke's avatar gaaclarke Committed by GitHub

Updated the kotlinlang version url. (#115782)

* Updated the kotlinlang version url.

* fixed format for test
parent 13012082
...@@ -552,7 +552,7 @@ final GradleHandledError incompatibleKotlinVersionHandler = GradleHandledError( ...@@ -552,7 +552,7 @@ final GradleHandledError incompatibleKotlinVersionHandler = GradleHandledError(
.childFile('build.gradle'); .childFile('build.gradle');
globals.printBox( globals.printBox(
'${globals.logger.terminal.warningMark} Your project requires a newer version of the Kotlin Gradle plugin.\n' '${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>'", "ext.kotlin_version = '<latest-version>'",
title: _boxTitle, title: _boxTitle,
); );
......
...@@ -26,7 +26,7 @@ import 'android_sdk.dart'; ...@@ -26,7 +26,7 @@ import 'android_sdk.dart';
// //
// For more information about the latest version, check: // For more information about the latest version, check:
// https://developer.android.com/studio/releases/gradle-plugin#updating-gradle // 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 templateDefaultGradleVersion = '7.5';
const String templateAndroidGradlePluginVersion = '7.2.0'; const String templateAndroidGradlePluginVersion = '7.2.0';
const String templateDefaultGradleVersionForModule = '7.2.0'; const String templateDefaultGradleVersionForModule = '7.2.0';
......
...@@ -931,12 +931,12 @@ Execution failed for task ':app:generateDebugFeatureTransitiveDeps'. ...@@ -931,12 +931,12 @@ Execution failed for task ':app:generateDebugFeatureTransitiveDeps'.
testLogger.statusText, testLogger.statusText,
contains( contains(
'\n' '\n'
'┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────\n' '┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐\n'
'│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │\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' '│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │\n'
'│ update /android/build.gradle: │\n' '│ update /android/build.gradle: │\n'
"│ ext.kotlin_version = '<latest-version>' │\n" "│ ext.kotlin_version = '<latest-version>' │\n"
'└──────────────────────────────────────────────────────────────────────────────────────────────\n' '└────────────────────────────────────────────────────────────────────────────────────────────┘\n'
) )
); );
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment