File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 32
32
- uses : actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
33
33
with :
34
34
distribution : ' zulu'
35
- java-version : ' 21 '
35
+ java-version : ' 17 '
36
36
- uses : subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
37
37
with :
38
38
channel : ' stable'
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ group = "com.example.ok_http"
4
4
version = " 1.0"
5
5
6
6
buildscript {
7
- ext. kotlin_version = ' 2.1.10 '
7
+ ext. kotlin_version = ' 1.8.22 '
8
8
repositories {
9
9
google()
10
10
mavenCentral()
@@ -33,7 +33,7 @@ android {
33
33
}
34
34
35
35
kotlinOptions {
36
- jvmTarget = JavaVersion . VERSION_21
36
+ jvmTarget = JavaVersion . VERSION_11
37
37
}
38
38
39
39
sourceSets {
@@ -42,7 +42,7 @@ android {
42
42
43
43
// Bumping the plugin compileSdk version requires all clients of this plugin
44
44
// to bump the version in their app.
45
- compileSdk = 34
45
+ compileSdk = 35
46
46
47
47
// Use the NDK version
48
48
// declared in /android/app/build.gradle file of the Flutter project.
@@ -51,8 +51,8 @@ android {
51
51
ndkVersion = android. ndkVersion
52
52
53
53
compileOptions {
54
- sourceCompatibility = JavaVersion . VERSION_21
55
- targetCompatibility = JavaVersion . VERSION_21
54
+ sourceCompatibility = JavaVersion . VERSION_11
55
+ targetCompatibility = JavaVersion . VERSION_11
56
56
}
57
57
58
58
defaultConfig {
Original file line number Diff line number Diff line change @@ -29,8 +29,12 @@ android {
29
29
ndkVersion = flutter. ndkVersion
30
30
31
31
compileOptions {
32
- sourceCompatibility = JavaVersion . VERSION_21
33
- targetCompatibility = JavaVersion . VERSION_21
32
+ sourceCompatibility = JavaVersion . VERSION_11
33
+ targetCompatibility = JavaVersion . VERSION_11
34
+ }
35
+
36
+ kotlinOptions {
37
+ jvmTarget = JavaVersion . VERSION_11
34
38
}
35
39
36
40
defaultConfig {
You can’t perform that action at this time.
0 commit comments