File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ android {
2828 }
2929 }
3030 compileOptions {
31- sourceCompatibility JavaVersion . VERSION_1_8
32- targetCompatibility JavaVersion . VERSION_1_8
31+ sourceCompatibility JavaVersion . VERSION_21
32+ targetCompatibility JavaVersion . VERSION_21
3333 }
34+
3435 kotlinOptions {
35- jvmTarget = ' 1.8 '
36+ jvmTarget = ' 21 '
3637 }
3738}
3839
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ println "OpenCV: " +openCVersionName + " " + project.buildscript.sourceFile
9898
9999android {
100100 namespace ' org.opencv'
101- compileSdkVersion 26
101+ compileSdkVersion 30
102102
103103 defaultConfig {
104104 minSdkVersion 21
@@ -129,9 +129,10 @@ android {
129129 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.txt'
130130 }
131131 }
132+
132133 compileOptions {
133- sourceCompatibility JavaVersion . VERSION_1_6
134- targetCompatibility JavaVersion . VERSION_1_6
134+ sourceCompatibility JavaVersion . VERSION_21
135+ targetCompatibility JavaVersion . VERSION_21
135136 }
136137
137138 sourceSets {
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ android {
2929 }
3030
3131 compileOptions {
32- sourceCompatibility JavaVersion . VERSION_11
33- targetCompatibility JavaVersion . VERSION_11
32+ sourceCompatibility JavaVersion . VERSION_21
33+ targetCompatibility JavaVersion . VERSION_21
3434 }
3535
3636 kotlinOptions {
37- jvmTarget = ' 1.8 '
37+ jvmTarget = ' 21 '
3838 freeCompilerArgs + = [
3939 " -Xopt-in=kotlin.RequiresOptIn" ,
4040 ]
You can’t perform that action at this time.
0 commit comments