PR for to ensure native modules are compiled with java version 8 (#14693)

* explicitly mentioning which version of java to use
* fix indentation of closing bracket
This commit is contained in:
Siddarth Kumar 2023-01-03 21:30:34 +05:30 committed by GitHub
parent 894be3e4e2
commit 3fa6112669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ def getStatusGoSHA1 = { ->
android { android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig { defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion