Skip to content

Commit eda4283

Browse files
authored
Centralize Repository Declaration (#4397)
This is the offical way of centralizing repository declarations: https://docs.gradle.org/current/userguide/centralizing_repositories.html
1 parent cff48c9 commit eda4283

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ apiValidation {
7878
}
7979

8080
allprojects {
81-
repositories {
82-
google()
83-
mavenCentral()
84-
mavenLocal()
85-
}
8681
group = Config.Sentry.group
8782
version = properties[Config.Sentry.versionNameProp].toString()
8883
description = Config.Sentry.description

settings.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ pluginManagement {
77
}
88
}
99

10+
dependencyResolutionManagement {
11+
repositories {
12+
google()
13+
mavenCentral()
14+
mavenLocal()
15+
}
16+
}
17+
1018
rootProject.name = "sentry-root"
1119
rootProject.buildFileName = "build.gradle.kts"
1220

0 commit comments

Comments
 (0)