Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2b0c895f
Unverified
Commit
2b0c895f
authored
Nov 21, 2022
by
gaaclarke
Committed by
GitHub
Nov 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the kotlinlang version url. (#115782)
* Updated the kotlinlang version url. * fixed format for test
parent
13012082
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
gradle_errors.dart
packages/flutter_tools/lib/src/android/gradle_errors.dart
+1
-1
gradle_utils.dart
packages/flutter_tools/lib/src/android/gradle_utils.dart
+1
-1
gradle_errors_test.dart
..._tools/test/general.shard/android/gradle_errors_test.dart
+6
-6
No files found.
packages/flutter_tools/lib/src/android/gradle_errors.dart
View file @
2b0c895f
...
...
@@ -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-version
s, then update
${gradleFile.path}
:
\n
'
'Find the latest version on https://kotlinlang.org/docs/
releases.html#release-detail
s, then update
${gradleFile.path}
:
\n
'
"ext.kotlin_version = '<latest-version>'"
,
title:
_boxTitle
,
);
...
...
packages/flutter_tools/lib/src/android/gradle_utils.dart
View file @
2b0c895f
...
...
@@ -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-version
s
// https://kotlinlang.org/docs/
releases.html#release-detail
s
const
String
templateDefaultGradleVersion
=
'7.5'
;
const
String
templateAndroidGradlePluginVersion
=
'7.2.0'
;
const
String
templateDefaultGradleVersionForModule
=
'7.2.0'
;
...
...
packages/flutter_tools/test/general.shard/android/gradle_errors_test.dart
View file @
2b0c895f
...
...
@@ -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-version
s, 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-detail
s, then │
\n
'
'│ update /android/build.gradle: │
\n
'
"│ ext.kotlin_version = '<latest-version>' │
\n
"
'└────────────────────────────────────────────────────────────────────────────────────────────┘
\n
'
)
);
},
overrides:
<
Type
,
Generator
>{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment