{
  "extends": [
    "config:base",
    ":dependencyDashboard",
    "helpers:pinGitHubActionDigests",
    "github>msfjarvis/shared-workflows//renovate/automerge"
  ],
  "branchConcurrentLimit": 15,
  "packageRules": [
    {
      matchDatasources: [
        "maven"
      ],
      registryUrls: [
        "https://maven.google.com/",
        "https://repo1.maven.org/maven2",
        "https://plugins.gradle.org/m2/",
      ],
    },
    {
      "matchPackagePatterns": [
        "^kotlin",
        "^org.jetbrains.kotlin",
        "^androidx.compose.compiler",
        "^anvil",
      ],
      "enabled": false
    },
    {
      "matchPackagePatterns": [
        "^io.sentry",
        "^sentry",
      ],
      "groupName": "sentry"
    },
    {
      "managers": [
        "gradle"
      ],
      "packagePatterns": [
        // Renovate refuses to stop resolving this from the snapshots repo
        "^app.cash.sqldelight",
      ],
      "enabled": false
    },
  ],
  "regexManagers": [
    {
      "fileMatch": [
        "SpotlessPlugin\.kt$"
      ],
      "matchStrings": [
        "KTFMT_VERSION = \"(?<currentValue>.*)\""
      ],
      "datasourceTemplate": "maven",
      "depNameTemplate": "com.facebook:ktfmt",
      "registryUrlTemplate": "https://repo1.maven.org/maven2/",
    },
    {
      "fileMatch": [
        "gradle/libs.versions.toml"
      ],
      "matchStrings": [
        "composeCompiler = \"(?<currentValue>.*)\""
      ],
      "datasourceTemplate": "maven",
      "depNameTemplate": "androidx.compose.compiler:compiler",
      "registryUrlTemplate": "https://maven.google.com",
    },
    {
      "fileMatch": [
        "qodana.yaml"
      ],
      "matchStrings": [
        "jetbrains/qodana-jvm-android:(?<currentValue>.*)"
      ],
      "datasourceTemplate": "docker",
      "depNameTemplate": "jetbrains/qodana-jvm-android",
    },
    {
      "fileMatch": [
        "gradle/libs.versions.toml"
      ],
      "matchStrings": [
        "sentry-sdk = \"(?<currentValue>.*)\""
      ],
      "datasourceTemplate": "maven",
      "depNameTemplate": "io.sentry:sentry-android",
      "registryUrlTemplate": "https://repo1.maven.org/maven2/",
    }
  ]
}
