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 20, 2023
1 parent 221fbb2 commit 53c39fe
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 53c39fe

Please sign in to comment.