Skip to content

Commit

Permalink
Fix dependabot for Google
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed Sep 24, 2023
1 parent 8197fcd commit cc31398
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
version: 2
registries:
google:
type: maven-repository
url: "https://dl.google.com/dl/android/maven2/"
gradle-plugin-portal:
type: maven-repository
url: "https://plugins.gradle.org/m2"
maven-central:
type: maven-repository
url: "https://repo.maven.apache.org/maven2/"
updates:
- package-ecosystem: "gradle"
directory: "/"
open-pull-requests-limit: 25
registries:
- google
- gradle-plugin-portal
- maven-central
schedule:
interval: "daily"
time: "08:00"
Expand Down
4 changes: 3 additions & 1 deletion gradle-plugin/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ pluginManagement {
}

dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

@Suppress("UnstableApiUsage")
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
@Suppress("UnstableApiUsage")
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
Expand Down
3 changes: 3 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pluginManagement {
}

dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

@Suppress("UnstableApiUsage")
repositories {
google()
Expand Down

0 comments on commit cc31398

Please sign in to comment.