Skip to content

Commit

Permalink
ci(renovate): Configure to update some AndroidX dependencies in build…
Browse files Browse the repository at this point in the history
….gradle

Test plan:
* Pipeline passes
  • Loading branch information
TiagoMSSantos committed Jun 25, 2024
1 parent 2a41845 commit 5b46a2a
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,62 @@
"customType": "regex",
"registryUrlTemplate": "https://dl.google.com/android/maven2"
},
{
"fileMatch": [
"build.gradle"
],
"matchStringsStrategy": "any",
"matchStrings": [
"androidX_test_runner_version = ['\"](?<currentValue>.*)['\"]"
],
"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 = ['\"](?<currentValue>.*)['\"]"
],
"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 = ['\"](?<currentValue>.*)['\"]"
],
"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 = ['\"](?<currentValue>.*)['\"]"
],
"depNameTemplate": "androidx.test.ext:junit",
"datasourceTemplate": "maven",
"versioningTemplate": "gradle",
"customType": "regex",
"registryUrlTemplate": "https://dl.google.com/android/maven2"
},
{
"fileMatch": [
"build.gradle"
Expand Down Expand Up @@ -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": [
Expand Down

0 comments on commit 5b46a2a

Please sign in to comment.