{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended",
    ":dependencyDashboard",
    "helpers:pinGitHubActionDigests",
    "github>msfjarvis/shared-workflows//renovate/automerge"
  ],
  "ignorePresets": [
    "group:monorepos"
  ],
  "branchConcurrentLimit": 15,
  "github-actions": {
    "managerFilePatterns": [
       "/.github/reusable-workflows/.+\\.ya?ml$/",
    ],
  },
  "packageRules": [
    {
      matchDatasources: [
        "maven"
      ],
      registryUrls: [
        "https://maven.google.com/",
        "https://repo1.maven.org/maven2",
        "https://plugins.gradle.org/m2/",
        "https://jitpack.io",
      ],
    },
    {
      "extends": [
        "monorepo:kotlin"
      ],
      "groupName": "Kotlin and Compose",
      "groupSlug": "kotlin-and-compose",
      "matchUpdateTypes": [
        "digest",
        "patch",
        "minor",
        "major",
      ],
      "enabled": false,
    },
    {
      "matchDepNames": [
        "com.google.devtools.ksp",
        "dev.drewhamilton.poko",
        "org.jetbrains.kotlin:kotlin-gradle-plugin",
        "org.jetbrains.kotlin.plugin.compose",
        "org.jetbrains.kotlin.plugin.serialization",
      ],
      "groupName": "Kotlin and Compose",
      "groupSlug": "kotlin-and-compose",
    },
    {
      "matchPackageNames": [
        "/^androidx.*/",
      ],
      "groupName": "AndroidX"
    },
    {
      "matchPackageNames": [
        "/^io.sentry/",
        "/^sentry/",
      ],
      "groupName": "Sentry"
    },
    {
      "matchManagers": [
        "github-actions"
      ],
      "matchDepNames": [
        "msfjarvis/compose-lobsters"
      ],
      "enabled": false,
    },
  ],
  "customManagers": [
    {
      "customType": "regex",
      "managerFilePatterns": [
        "/SpotlessPlugin\.kt$/"
      ],
      "matchStrings": [
        "KTFMT_VERSION = \"(?<currentValue>.*)\""
      ],
      "datasourceTemplate": "maven",
      "depNameTemplate": "com.facebook:ktfmt",
      "registryUrlTemplate": "https://repo1.maven.org/maven2/",
    },
  ],
}
