Skip to content

Commit 8b14d32

Browse files
Bug fix Kotlin version issue
1 parent 848523b commit 8b14d32

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

android/app/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ plugins {
33
id "kotlin-android"
44
id "dev.flutter.flutter-gradle-plugin"
55
}
6+
kotlin {
7+
androidExtensions {
8+
experimental = true
9+
}
10+
}
611

712
def localProperties = new Properties()
813
def localPropertiesFile = rootProject.file('local.properties')

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.3.0'
10-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
9+
classpath 'com.android.tools.build:gradle:7.0.0'
10+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
1111
}
1212
}
1313

0 commit comments

Comments
 (0)