Tencent-RTC / Tencent-RTC/TUIKit_Flutter
Gradle and Kotlin warnings
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 16
- Forks
- 18
- Avg merge
- 1d 19m
- Merged PRs (30d)
- 3
Description
Warning: Flutter support for your project's Gradle version (8.4.0) will soon be dropped. Please upgrade your Gradle version to a version of at least 8.7.0 soon.
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.
Potential fix: Your project's gradle version is typically defined in the gradle wrapper file. By default, this can be found at /Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/gradle/wrapper/gradle-wrapper.properties.
For more information, see https://docs.gradle.org/current/userguide/gradle_wrapper.html.
Warning: Flutter support for your project's Android Gradle Plugin version (Android Gradle Plugin version 8.1.4) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least Android Gradle Plugin version 8.6.0 soon.
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.
Potential fix: Your project's AGP version is typically defined in the plugins block of the `settings.gradle` file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/settings.gradle), by a plugin with the id of com.android.application.
If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:<version>'".
Warning: Flutter support for your project's Kotlin version (2.0.20) will soon be dropped. Please upgrade your Kotlin version to a version of at least 2.1.0 soon.
Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.
Potential fix: Your project's KGP version is typically defined in the plugins block of the `settings.gradle` file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/settings.gradle), by a plugin with the id of org.jetbrains.kotlin.android.
If you don't see a plugins block, your project was likely created with an older template version, in which case it is most likely defined in the top-level build.gradle file (/Users/sarit/fullstack/TUIKit_Flutter/chat/demo/android/build.gradle) by the ext.kotlin_version property.
FYI
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with android/gradle/wrapper/gradle-wrapper.properties and android/settings.gradle, checking android/build.gradle if the versions are defined there instead. Update the Gradle, Android Gradle Plugin, and Kotlin versions to the minimums listed in the warning, then run the relevant Flutter Android build and confirm these warnings no longer appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, kotlin
- Domain
- build-system, mobile
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100