Skip to content

Commit

Permalink
Updated the kotlinlang version url. (#115782)
Browse files Browse the repository at this point in the history
* Updated the kotlinlang version url.

* fixed format for test
  • Loading branch information
gaaclarke authored Nov 21, 2022
1 parent 1301208 commit 2b0c895
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/android/gradle_errors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/android/gradle_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>{
Expand Down

0 comments on commit 2b0c895

Please sign in to comment.