Skip to content

Commit

Permalink
Adopt dependencyResolutionManagement in settings.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbull committed Mar 2, 2024
1 parent fca4ec6 commit bae2d88
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
6 changes: 0 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ tasks.withType<DependencyUpdatesTask> {
}
}

allprojects {
repositories {
mavenCentral()
}
}

subprojects {
plugins.withType<MavenPublishPlugin> {
apply(plugin = "org.gradle.signing")
Expand Down
24 changes: 15 additions & 9 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
rootProject.name = "kotlin-result"

include(
"benchmarks",
"example",
"kotlin-result",
"kotlin-result-coroutines"
)

pluginManagement {
repositories {
mavenCentral()
Expand All @@ -17,3 +8,18 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
}

dependencyResolutionManagement {
repositories {
mavenCentral()
}
}

rootProject.name = "kotlin-result"

include(
"benchmarks",
"example",
"kotlin-result",
"kotlin-result-coroutines"
)

0 comments on commit bae2d88

Please sign in to comment.