Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
fix(android): fix build error on android
Browse files Browse the repository at this point in the history
  • Loading branch information
wjaykim committed Nov 20, 2021
1 parent 68e9e1c commit 4ce1a93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions android/build.gradle
Expand Up @@ -53,11 +53,21 @@ repositories {
mavenCentral()
}

configurations.all {
resolutionStrategy.force 'androidx.work:work-runtime:2.6.0'
}

dependencies {
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation 'com.google.android.gms:play-services-ads:[20.0, 21.0['

api(group: "androidx.work", name: "work-runtime") {
version {
strictly "2.6.0"
}
}

def lifecycle_version = "2.3.0"
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
Expand Down

0 comments on commit 4ce1a93

Please sign in to comment.