Update Java/Kotlin versions and add opt-in flags for RN 0.79
This commit is contained in:
@@ -133,8 +133,16 @@ android {
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
freeCompilerArgs += [
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=com.facebook.react.annotations.UnstableReactNativeAPI"
|
||||
]
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
|
||||
Reference in New Issue
Block a user