Skip to content

Commit

Permalink
Moved repository block from buildSrc into `dependencyResolutionMa…
Browse files Browse the repository at this point in the history
…nagement`
  • Loading branch information
VincentMasselis committed May 22, 2024
1 parent a0a589a commit 8d676a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ kotlinDslPluginOptions {
}
}

repositories {
gradlePluginPortal()
google()
mavenCentral()
}

dependencies {
implementation(libs.android.gradle.plugin)
implementation(kotlin("gradle-plugin", libs.versions.kotlin.get()))
Expand Down
6 changes: 6 additions & 0 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
Expand Down

0 comments on commit 8d676a0

Please sign in to comment.