From 5b46a2aa0626e8ea60e3e3f336f1ccb2464727c8 Mon Sep 17 00:00:00 2001 From: TiagoMSSantos Date: Tue, 25 Jun 2024 20:41:19 +0100 Subject: [PATCH] ci(renovate): Configure to update some AndroidX dependencies in build.gradle Test plan: * Pipeline passes --- renovate.json | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/renovate.json b/renovate.json index 0ca2a4ff0..46ead9eeb 100755 --- a/renovate.json +++ b/renovate.json @@ -138,6 +138,62 @@ "customType": "regex", "registryUrlTemplate": "https://dl.google.com/android/maven2" }, + { + "fileMatch": [ + "build.gradle" + ], + "matchStringsStrategy": "any", + "matchStrings": [ + "androidX_test_runner_version = ['\"](?.*)['\"]" + ], + "depNameTemplate": "androidx.test:runner", + "datasourceTemplate": "maven", + "versioningTemplate": "gradle", + "customType": "regex", + "registryUrlTemplate": "https://dl.google.com/android/maven2" + }, + { + "fileMatch": [ + "build.gradle" + ], + "matchStringsStrategy": "any", + "matchStrings": [ + "androidX_test_rules_version = ['\"](?.*)['\"]" + ], + "depNameTemplate": "androidx.test:rules", + "datasourceTemplate": "maven", + "versioningTemplate": "gradle", + "customType": "regex", + "registryUrlTemplate": "https://dl.google.com/android/maven2" + }, + { + "fileMatch": [ + "build.gradle" + ], + "matchStringsStrategy": "any", + "matchStrings": [ + "androidX_test_monitor_version = ['\"](?.*)['\"]" + ], + "depNameTemplate": "androidx.test:monitor", + "datasourceTemplate": "maven", + "versioningTemplate": "gradle", + "customType": "regex", + "registryUrlTemplate": "https://dl.google.com/android/maven2" + }, + { + "fileMatch": [ + "build.gradle" + ], + "matchStringsStrategy": "any", + "matchStrings": [ + "androidX_test_junit_version = ['\"](?.*)['\"]" + ], + "depNameTemplate": "androidx.test.ext:junit", + "datasourceTemplate": "maven", + "versioningTemplate": "gradle", + "customType": "regex", + "registryUrlTemplate": "https://dl.google.com/android/maven2" + }, { "fileMatch": [ "build.gradle" @@ -305,6 +361,54 @@ ], "matchCurrentVersion": "/^1\\.12\\.0/" }, + { + "groupName": "Ignore update androidx.test:runner for Android API < 19", + "enabled": false, + "matchDepNames": [ + "androidx.test:runner" + ], + "matchManagers": [ + "custom.regex", + "gradle" + ], + "matchCurrentVersion": "/^1\\.5\\.2/" + }, + { + "groupName": "Ignore update androidx.test:rules for Android API < 19", + "enabled": false, + "matchDepNames": [ + "androidx.test:rules" + ], + "matchManagers": [ + "custom.regex", + "gradle" + ], + "matchCurrentVersion": "/^1\\.5\\.0/" + }, + { + "groupName": "Ignore update androidx.test:monitor for Android API < 19", + "enabled": false, + "matchDepNames": [ + "androidx.test:monitor" + ], + "matchManagers": [ + "custom.regex", + "gradle" + ], + "matchCurrentVersion": "/^1\\.6\\.1/" + }, + { + "groupName": "Ignore update androidx.test.ext:junit for Android API < 19", + "enabled": false, + "matchDepNames": [ + "androidx.test.ext:junit" + ], + "matchManagers": [ + "custom.regex", + "gradle" + ], + "matchCurrentVersion": "/^1\\.1\\.5/" + }, { "groupName": "Update Ubuntu to LTS versions", "matchDepNames": [