Skip to content

Commit 5af9373

Browse files
committed
Update Kotlin and AGP to meet current Flutter requirements
- Update Kotlin from 1.7.10 to 1.9.0 (Flutter minimum is 1.8.10) - Update Android Gradle Plugin from 8.3.0 to 8.6.0 (Flutter minimum) - Update versions in both plugin and example app Fixes: "Your project's Kotlin version (1.7.10) is lower than Flutter's minimum supported version of 1.8.10"
1 parent 7299649 commit 5af9373

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'com.nschairer.keyboard_height_plugin'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.7.10'
5+
ext.kotlin_version = '1.9.0'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:8.3.0'
12+
classpath 'com.android.tools.build:gradle:8.6.0'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}

example/android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.3.0" apply false
22-
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
21+
id "com.android.application" version "8.6.0" apply false
22+
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
2323
}
2424

2525
include ":app"

0 commit comments

Comments
 (0)