Skip to content

Commit c8b5300

Browse files
committed
Use Java11.
1 parent dd37589 commit c8b5300

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

activitytasklib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ android {
2121
}
2222
}
2323
compileOptions {
24-
sourceCompatibility JavaVersion.VERSION_1_8
25-
targetCompatibility JavaVersion.VERSION_1_8
24+
sourceCompatibility JavaVersion.VERSION_11
25+
targetCompatibility JavaVersion.VERSION_11
2626
}
2727
}
2828

activitytaskview/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
4+
compileSdkVersion 31
55
defaultConfig {
66
applicationId "cc.rome753.activitytask"
77
minSdkVersion 15
8-
targetSdkVersion 28
8+
targetSdkVersion 31
99
versionCode 12
1010
versionName "4.2.0"
1111
}
@@ -18,10 +18,6 @@ android {
1818
dataBinding {
1919
enabled = true
2020
}
21-
compileOptions {
22-
sourceCompatibility = '1.8'
23-
targetCompatibility = '1.8'
24-
}
2521
}
2622

2723
dependencies {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
maven { url 'https://jitpack.io' }
88
}
99
dependencies {
10-
classpath "com.android.tools.build:gradle:4.1.0"
10+
classpath 'com.android.tools.build:gradle:7.3.1'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files

singleinstancedemo/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
4+
compileSdkVersion 31
55
defaultConfig {
66
applicationId "cc.rome753.singleinstancedemo"
77
minSdkVersion 15
8-
targetSdkVersion 28
8+
targetSdkVersion 31
99
versionCode 1
1010
versionName "1.0"
1111
}

0 commit comments

Comments
 (0)