Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kotlin build issues with react native 73.x #7831

Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
jvmTarget = JavaVersion.VERSION_17
}

flavorDimensions "RNN.reactNativeVersion"
Expand Down Expand Up @@ -192,9 +192,9 @@ dependencies {
if("Playground".toLowerCase() == rootProject.name.toLowerCase()){
// tests only for our playground
testImplementation 'junit:junit:4.13.2'
testImplementation "org.robolectric:robolectric:4.7.2"
testImplementation "org.robolectric:robolectric:4.11.1"
testImplementation 'org.assertj:assertj-core:3.11.1'
testImplementation 'org.mockito:mockito-core:4.0.0'
testImplementation 'org.mockito:mockito-core:5.0.0'
testImplementation 'com.squareup.assertj:assertj-android:1.2.0'
testImplementation 'org.mockito:mockito-inline:3.4.0'
testImplementation "org.mockito.kotlin:mockito-kotlin:4.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ open class ButtonPresenter(private val context: Context, private val button: But

class WixAccessibilityDelegateCompat: AccessibilityDelegateCompat(){
override fun onInitializeAccessibilityNodeInfo(
host: View?,
info: AccessibilityNodeInfoCompat?
host: View,
info: AccessibilityNodeInfoCompat
) {
super.onInitializeAccessibilityNodeInfo(host, info)

Expand All @@ -216,4 +216,4 @@ open class ButtonPresenter(private val context: Context, private val button: But
}


}
}