From 4d4b3cf2f74f729c1685de00856c1d5740578987 Mon Sep 17 00:00:00 2001 From: Alberto Azinar <49291509+albertoazinar@users.noreply.github.com> Date: Fri, 5 May 2023 21:47:22 +0200 Subject: [PATCH] improvement : removed required kotlin dependency (#125002) This PR removed the non-necessary required Koltin dependency. This is because the Kotlin Gradle adds the dependency on the standard library automatically. Fixes #98212 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy]. * --- .../app_shared/android-kotlin.tmpl/app/build.gradle.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/flutter_tools/templates/app_shared/android-kotlin.tmpl/app/build.gradle.tmpl b/packages/flutter_tools/templates/app_shared/android-kotlin.tmpl/app/build.gradle.tmpl index cda0b94412..ffd0ba791b 100644 --- a/packages/flutter_tools/templates/app_shared/android-kotlin.tmpl/app/build.gradle.tmpl +++ b/packages/flutter_tools/templates/app_shared/android-kotlin.tmpl/app/build.gradle.tmpl @@ -64,6 +64,4 @@ flutter { source '../..' } -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} +dependencies {}