Repository: microsoft/react-native-test-app
Pull request #1152 (2022-10-07 10:18:06)

fix(deps): update dependency de.undercouch:gradle-download-task to v5.2.1
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [de.undercouch:gradle-download-task](https://togithub.com/michel-kraemer/gradle-download-task) | `5.1.3` -> `5.2.1` | [![age](https://badges.renovateapi.com/packages/maven/de.undercouch:gradle-download-task/5.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/de.undercouch:gradle-download-task/5.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/de.undercouch:gradle-download-task/5.2.1/compatibility-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/de.undercouch:gradle-download-task/5.2.1/confidence-slim/5.1.3)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/microsoft/react-native-test-app).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjIuMiIsInVwZGF0ZWRJblZlciI6IjMyLjIyMi4yIn0=-->



Patch:
diff --git a/.github/renovate.json b/.github/renovate.json
index 448e7ec..096a19f 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -15,6 +15,11 @@
       "matchDatasources": ["maven"],
       "matchPackagePrefixes": ["com.android."]
     },
+    {
+      "groupName": "Android CameraX",
+      "matchDatasources": ["maven"],
+      "matchPackagePrefixes": ["androidx.camera"]
+    },
     {
       "groupName": "Kotlin",
       "matchDatasources": ["maven"],
diff --git a/android/dependencies.gradle b/android/dependencies.gradle
index 178544b..d95a918 100644
--- a/android/dependencies.gradle
+++ b/android/dependencies.gradle
@@ -34,8 +34,8 @@ ext {
      */
     libraries = [
         androidAppCompat            : "androidx.appcompat:appcompat:1.4.2",
-        androidCamera               : "androidx.camera:camera-camera2:1.2.0-beta01",
-        androidCameraMlKitVision    : "androidx.camera:camera-mlkit-vision:1.2.0-beta01",
+        androidCamera               : "androidx.camera:camera-camera2:1.2.0-beta02",
+        androidCameraMlKitVision    : "androidx.camera:camera-mlkit-vision:1.2.0-beta02",
         androidCoreKotlinExtensions : "androidx.core:core-ktx:1.8.0",
         androidEspressoCore         : "androidx.test.espresso:espresso-core:3.4.0",
         androidJUnit                : "androidx.test.ext:junit:1.1.3",
diff --git a/android/react-native-build.gradle b/android/react-native-build.gradle
index 4624afd..65137f1 100644
--- a/android/react-native-build.gradle
+++ b/android/react-native-build.gradle
@@ -9,7 +9,7 @@ buildscript {
 
     dependencies {
         classpath "com.android.tools.build:gradle:$androidPluginVersion"
-        classpath 'de.undercouch:gradle-download-task:5.1.3'
+        classpath 'de.undercouch:gradle-download-task:5.2.1'
     }
 }
 
diff --git a/example/android/build.gradle b/example/android/build.gradle
index d166a13..29cea8f 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -13,7 +13,7 @@ buildscript {
 
         if (isNewArchitectureEnabled(project)) {
             classpath("com.facebook.react:react-native-gradle-plugin")
-            classpath("de.undercouch:gradle-download-task:5.1.3")
+            classpath("de.undercouch:gradle-download-task:5.2.1")
         }
     }
 }
diff --git a/scripts/configure.js b/scripts/configure.js
index b744f20..9d4bed2 100755
--- a/scripts/configure.js
+++ b/scripts/configure.js
@@ -487,7 +487,7 @@ const getConfig = (() => {
               "",
               "        if (isNewArchitectureEnabled(project)) {",
               '            classpath("com.facebook.react:react-native-gradle-plugin")',
-              '            classpath("de.undercouch:gradle-download-task:5.1.2")',
+              '            classpath("de.undercouch:gradle-download-task:5.2.1")',
               "        }",
               "    }",
               "}",


Test patch:
diff --git a/test/android-test-app/test-app-util.test.js b/test/android-test-app/test-app-util.test.js
index ac13428..9a723bd 100644
--- a/test/android-test-app/test-app-util.test.js
+++ b/test/android-test-app/test-app-util.test.js
@@ -17,7 +17,7 @@ describe("test-app-util", () => {
     "",
     "    dependencies {",
     '        classpath("com.android.tools.build:gradle:${androidPluginVersion}")',
-    '        classpath("de.undercouch:gradle-download-task:5.1.2")',
+    '        classpath("de.undercouch:gradle-download-task:5.2.1")',
     "    }",
     "}",
     "",
diff --git a/test/configure/__snapshots__/gatherConfig.test.js.snap b/test/configure/__snapshots__/gatherConfig.test.js.snap
index 58d8f66..4861aeb 100644
--- a/test/configure/__snapshots__/gatherConfig.test.js.snap
+++ b/test/configure/__snapshots__/gatherConfig.test.js.snap
@@ -84,7 +84,7 @@ Object {
 
         if (isNewArchitectureEnabled(project)) {
             classpath(\\"com.facebook.react:react-native-gradle-plugin\\")
-            classpath(\\"de.undercouch:gradle-download-task:5.1.2\\")
+            classpath(\\"de.undercouch:gradle-download-task:5.2.1\\")
         }
     }
 }
@@ -386,7 +386,7 @@ Object {
 
         if (isNewArchitectureEnabled(project)) {
             classpath(\\"com.facebook.react:react-native-gradle-plugin\\")
-            classpath(\\"de.undercouch:gradle-download-task:5.1.2\\")
+            classpath(\\"de.undercouch:gradle-download-task:5.2.1\\")
         }
     }
 }
@@ -537,7 +537,7 @@ Object {
 
         if (isNewArchitectureEnabled(project)) {
             classpath(\\"com.facebook.react:react-native-gradle-plugin\\")
-            classpath(\\"de.undercouch:gradle-download-task:5.1.2\\")
+            classpath(\\"de.undercouch:gradle-download-task:5.2.1\\")
         }
     }
 }