diff --git a/android/build.gradle b/android/build.gradle index f05f379..21aab4f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.0.3' + classpath 'com.android.tools.build:gradle:7.0.4' } } } @@ -18,11 +18,11 @@ def safeExtGet(prop, fallback) { } android { - compileSdkVersion safeExtGet('compileSdkVersion', 30) + compileSdkVersion safeExtGet('compileSdkVersion', 31) buildToolsVersion safeExtGet('buildToolsVersion', '30.0.2') defaultConfig { minSdkVersion safeExtGet('minSdkVersion', 21) - targetSdkVersion safeExtGet('targetSdkVersion', 30) + targetSdkVersion safeExtGet('targetSdkVersion', 31) } buildTypes { @@ -53,22 +53,12 @@ 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" + def lifecycle_version = "2.4.0" implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" diff --git a/example/android/build.gradle b/example/android/build.gradle index d74ed0d..d2d4bd5 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -4,8 +4,8 @@ buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 21 - compileSdkVersion = 30 - targetSdkVersion = 30 + compileSdkVersion = 31 + targetSdkVersion = 31 ndkVersion = "21.4.7075529" } repositories { @@ -13,7 +13,7 @@ buildscript { mavenCentral() } dependencies { - classpath('com.android.tools.build:gradle:7.0.3') + classpath('com.android.tools.build:gradle:7.0.4') // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files