Skip to content

Commit

Permalink
Make example app compile on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszawadzki committed Sep 19, 2023
1 parent 997ca13 commit 7f2dfc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ dependencies {
} else {
implementation jscFlavor
}

constraints {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
}
}
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

0 comments on commit 7f2dfc6

Please sign in to comment.