File tree Expand file tree Collapse file tree 11 files changed +31
-7
lines changed
abstract_method_smoke_test/android/app
android_embedding_v2_smoke_test/android/app
android_semantics_testing/android/app
release_smoke_test/android/app
packages/flutter_tools/templates
plugin/android-kotlin.tmpl Expand file tree Collapse file tree 11 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
@@ -25,6 +25,10 @@ android {
25
25
targetCompatibility JavaVersion . VERSION_1_8
26
26
}
27
27
28
+ kotlinOptions {
29
+ jvmTarget = JavaVersion . VERSION_1_8
30
+ }
31
+
28
32
defaultConfig {
29
33
minSdkVersion flutter. minSdkVersion
30
34
targetSdkVersion flutter. targetSdkVersion
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ android {
36
36
targetCompatibility JavaVersion . VERSION_1_8
37
37
}
38
38
39
+ kotlinOptions {
40
+ jvmTarget = JavaVersion . VERSION_1_8
41
+ }
42
+
39
43
defaultConfig {
40
44
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41
45
applicationId " com.example.channels"
Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
@@ -35,6 +35,10 @@ android {
35
35
targetCompatibility JavaVersion . VERSION_1_8
36
36
}
37
37
38
+ kotlinOptions {
39
+ jvmTarget = JavaVersion . VERSION_1_8
40
+ }
41
+
38
42
defaultConfig {
39
43
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
40
44
applicationId " com.example.release_smoke_test"
Original file line number Diff line number Diff line change 4
4
5
5
plugins {
6
6
id " com.android.application"
7
- id " dev.flutter.flutter-gradle-plugin"
8
7
id " kotlin-android"
8
+ id " dev.flutter.flutter-gradle-plugin"
9
9
}
10
10
11
11
def localProperties = new Properties ()
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ android {
17
17
targetCompatibility JavaVersion . VERSION_1_8
18
18
}
19
19
20
+ kotlinOptions {
21
+ jvmTarget = JavaVersion . VERSION_1_8
22
+ }
23
+
20
24
defaultConfig {
21
25
minSdkVersion flutter. minSdkVersion
22
26
targetSdkVersion flutter. targetSdkVersion
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ android {
15
15
targetCompatibility = JavaVersion.VERSION_1_8
16
16
}
17
17
18
+ kotlinOptions {
19
+ jvmTarget = JavaVersion.VERSION_1_8
20
+ }
21
+
18
22
defaultConfig {
19
23
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
20
24
applicationId = "{{androidIdentifier}}"
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ android {
15
15
targetCompatibility = JavaVersion.VERSION_1_8
16
16
}
17
17
18
+ kotlinOptions {
19
+ jvmTarget = JavaVersion.VERSION_1_8
20
+ }
21
+
18
22
defaultConfig {
19
23
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
20
24
applicationId = "{{androidIdentifier}}"
You can’t perform that action at this time.
0 commit comments