File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727### Requirements
2828
29- Android API version 31 or later and Java 8 +.
29+ Android API version 31 or later and Java 17 +.
3030
3131> :warning : Applications targeting Android SDK version 30 (` targetSdkVersion = 30 ` ) and below should use version 2.9.0.
3232
33- Here’s what you need in ` build.gradle ` to target Java 8 byte code for Android and Kotlin plugins respectively.
33+ Here’s what you need in ` build.gradle ` to target Java 17 byte code for Android and Kotlin plugins respectively.
3434
3535``` groovy
3636android {
3737 compileOptions {
38- sourceCompatibility JavaVersion.VERSION_1_8
39- targetCompatibility JavaVersion.VERSION_1_8
38+ sourceCompatibility JavaVersion.VERSION_17
39+ targetCompatibility JavaVersion.VERSION_17
4040 }
4141
4242 kotlinOptions {
43- jvmTarget = '1.8 '
43+ jvmTarget = '17 '
4444 }
4545}
4646```
You can’t perform that action at this time.
0 commit comments