Skip to content

Commit

Permalink
Revise renovate.json ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Aug 25, 2022
1 parent 9240110 commit 98a8c67
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,41 @@
],
"packageRules": [
{
"description": "Disable updating AGP in debug projects, they have a specific version. Allow patches.",
"description": "Disable updating AGP in main project, they have a specific version, and will break the matrix. Allow patches.",
"matchPackageNames": [
"com.android.tools.build:gradle",
"com.android.application"
],
"matchPaths": [
"+(docs/debug/agp*-gradle*/**/build.gradle)",
"+(docs/debug/agp*-gradle*/**/build.gradle.kts)",
"+(docs/debug/agp*-gradle*/**/settings.gradle)",
"+(docs/debug/agp*-gradle*/**/settings.gradle.kts)"
"+(build.gradle.kts)",
"+(*/build.gradle.kts)",
"+(*/*/build.gradle.kts)",
"+(gradle/libs.versions.toml)"
],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"description": "Disable updating Gradle in debug projects, they have a specific version. Allow minors.",
"matchPaths": [
"+(docs/debug/agp*-gradle*/gradle/wrapper/gradle-wrapper.properties)"
],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Disable updating AGP in compatibility modules, they need a specific version. Allow patches.",
"description": "Disable updating AGP in debug projects, they have a specific version. Allow patches.",
"matchPackageNames": [
"com.android.tools.build:gradle",
"com.android.application"
],
"matchPaths": [
"+(compat/agp-*x/build.gradle.kts)"
"+(docs/debug/agp*-gradle*/**/build.gradle)",
"+(docs/debug/agp*-gradle*/**/build.gradle.kts)",
"+(docs/debug/agp*-gradle*/**/settings.gradle)",
"+(docs/debug/agp*-gradle*/**/settings.gradle.kts)"
],
"matchUpdateTypes": ["major", "minor"],
"enabled": false
},
{
"matchPackageNames": [
"com.android.tools.build:gradle",
"com.android.application"
"description": "Disable updating Gradle in debug projects, they have a specific version. Allow minors.",
"matchPaths": [
"+(docs/debug/agp*-gradle*/gradle/wrapper/gradle-wrapper.properties)"
],
"matchCurrentVersion": "/^3\\.\\d+\\./",
"matchUpdateTypes": ["major", "minor"],
"matchUpdateTypes": ["major"],
"enabled": false
}
]
Expand Down

0 comments on commit 98a8c67

Please sign in to comment.