{
  "extends": [
    "config:base",
    ":dependencyDashboard",
    "helpers:pinGitHubActionDigests",
  ],
  "packageRules": [
    {
      "matchPackagePatterns": [
        "^kotlin",
        "^org.jetbrains.kotlin",
        "^androidx.compose.compiler"
      ],
      "groupName": "kotlin"
    },
    {
      "managers": [
        "gradle"
      ],
      "matchPackagePatterns": [
        // Upgrading breaks the fastscroll dependency
        "^androidx.appcompat",
        // Later versions require newer JDKs
        "^org.eclipse.jgit",
        // AGP dictates the version we can use
        "^com.android.tools:desugar_jdk_libs",
        // Later versions require newer JDKs
        "^commons-codec:commons-codec",
        // https://github.com/android-password-store/Android-Password-Store/issues/2247
        "^androidx.security:security-crypto",
      ],
      "enabled": false
    },
    {
      "matchDatasources": [
        "maven"
      ],
      "matchPackageNames": [
        "androidx.compose.compiler:compiler"
      ],
      "registryUrls": [
        "https://androidx.dev/storage/compose-compiler/repository/"
      ]
    }
  ],
  "regexManagers": [
    {
      "fileMatch": [
        "gradle/libs.versions.toml"
      ],
      "matchStrings": [
        "composeCompiler = \"(?<currentValue>.*)\""
      ],
      "datasourceTemplate": "maven",
      "depNameTemplate": "androidx.compose.compiler:compiler"
    }    
  ]
}