-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate config .github/renovate.json5
- Loading branch information
1 parent
2741194
commit 591a539
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
{ | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
extends: [ | ||
"local>TWiStErRob/renovate-config" | ||
'local>TWiStErRob/renovate-config', | ||
], | ||
packageRules: [ | ||
{ | ||
description: "Don't update Gradle versions yet, it's a complex build.", | ||
matchPackageNames: [ | ||
"gradle" | ||
'gradle', | ||
], | ||
dependencyDashboardApproval: true, | ||
}, | ||
{ | ||
description: "Don't update AndroidX packages yet.", | ||
matchPackagePrefixes: [ | ||
"androidx.", | ||
"com.google.android.material:" | ||
], | ||
dependencyDashboardApproval: true, | ||
matchPackageNames: [ | ||
'androidx.{/,}**', | ||
'com.google.android.material:{/,}**', | ||
], | ||
}, | ||
{ | ||
description: "Don't update Guava.", | ||
matchPackageNames: [ | ||
"com.google.guava:guava" | ||
'com.google.guava:guava', | ||
], | ||
dependencyDashboardApproval: true, | ||
}, | ||
{ | ||
description: "Don't update Protobuf major it's tightly coupled internally in AGP.", | ||
matchPackageNames: [ | ||
"com.google.protobuf:protobuf-java" | ||
'com.google.protobuf:protobuf-java', | ||
], | ||
matchUpdateTypes: [ | ||
'major', | ||
], | ||
matchUpdateTypes: ["major"], | ||
dependencyDashboardApproval: true, | ||
}, | ||
{ | ||
description: "Don't update Mockito Android, requires Java 11, and therefore minSdk 26.", | ||
matchPackageNames: [ | ||
"org.mockito:mockito-android" | ||
'org.mockito:mockito-android', | ||
], | ||
matchUpdateTypes: "major", | ||
matchUpdateTypes: 'major', | ||
dependencyDashboardApproval: true, | ||
} | ||
] | ||
}, | ||
], | ||
} |