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 aa801dc
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,46 @@
"docs/debug/**",
"docs/examples/**",
"graph/**",
"**/src/test/resources/**"
"**/src/test/resources/**",
"**/src/testFixtures/resources/**"
],
"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 aa801dc

Please sign in to comment.