Changeset View
Changeset View
Standalone View
Standalone View
native/android/app/build.gradle
Show First 20 Lines • Show All 703 Lines • ▼ Show 20 Lines | dependencies { | ||||
if (enableHermes) { | if (enableHermes) { | ||||
//noinspection GradleDynamicVersion | //noinspection GradleDynamicVersion | ||||
implementation("com.facebook.react:hermes-engine:+") { // From node_modules | implementation("com.facebook.react:hermes-engine:+") { // From node_modules | ||||
exclude group:'com.facebook.fbjni' | exclude group:'com.facebook.fbjni' | ||||
} | } | ||||
} else { | } else { | ||||
implementation jscFlavor | implementation jscFlavor | ||||
} | } | ||||
def work_version = "2.8.1" | |||||
// (Java only) | |||||
implementation "androidx.work:work-runtime:$work_version" | |||||
// Guava for listenable future to solve the bug: | |||||
// https://stackoverflow.com/questions/64290141/android-studio-class-file-for-com-google-common-util-concurrent-listenablefuture | |||||
// https://github.com/google/ExoPlayer/issues/7993 | |||||
implementation "com.google.guava:guava:31.0.1-android" | |||||
} | } | ||||
if (isNewArchitectureEnabled()) { | if (isNewArchitectureEnabled()) { | ||||
// If new architecture is enabled, we let you build RN from source | // If new architecture is enabled, we let you build RN from source | ||||
// Otherwise we fallback to a prebuilt .aar bundled in the NPM package. | // Otherwise we fallback to a prebuilt .aar bundled in the NPM package. | ||||
// This will be applied to all the imported transtitive dependency. | // This will be applied to all the imported transtitive dependency. | ||||
configurations.all { | configurations.all { | ||||
resolutionStrategy.dependencySubstitution { | resolutionStrategy.dependencySubstitution { | ||||
Show All 29 Lines |