Files
EhViewer/renovate.json
T
2024-09-23 21:32:34 +08:00

64 lines
1.4 KiB
JSON

{
"automerge": true,
"extends": [
"config:base"
],
"ignorePaths": [
"app/build.gradle.kts"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|/)CMakeLists\\.txt$"
],
"matchStrings": [
"(?<depName>\\S*)\\s*GIT_REPOSITORY https://(?<datasource>.*?)\\.com/(?<packageName>.*?)\\.git\\s*GIT_TAG (?<currentValue>\\S*)"
],
"datasourceTemplate": "{{{datasource}}}-tags"
}
],
"packageRules": [
{
"description": "Disable updates for SNAPSHOTs",
"matchDatasources": [
"maven"
],
"allowedVersions": "!/SNAPSHOT$/"
},
{
"groupName": "AGP",
"matchDepNames": [
"com.android.application",
"com.android.test"
],
"allowedVersions": "/^.*-alpha\\d*$/",
"ignoreUnstable": false
},
{
"matchDepPrefixes": [
"androidx."
],
"ignoreUnstable": false
},
{
"groupName": "Kotlin & KSP",
"matchSourceUrls": [
"https://github.com/JetBrains/kotlin",
"https://github.com/google/ksp"
],
"recreateWhen": "never"
},
{
"matchDepNames": [
"nettle"
],
"versioning": "regex:^nettle_(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?(?<prerelease>rc\\d+)?"
}
],
"lockFileMaintenance": {
"enabled": true
},
"rangeStrategy": "replace"
}