Adopt dependencyResolutionManagement in settings.gradle

This commit is contained in:
Michael Bull 2024-03-02 21:37:21 +00:00
parent fca4ec6cab
commit bae2d88e3d
2 changed files with 15 additions and 15 deletions

View File

@ -33,12 +33,6 @@ tasks.withType<DependencyUpdatesTask> {
} }
} }
allprojects {
repositories {
mavenCentral()
}
}
subprojects { subprojects {
plugins.withType<MavenPublishPlugin> { plugins.withType<MavenPublishPlugin> {
apply(plugin = "org.gradle.signing") apply(plugin = "org.gradle.signing")

View File

@ -1,12 +1,3 @@
rootProject.name = "kotlin-result"
include(
"benchmarks",
"example",
"kotlin-result",
"kotlin-result-coroutines"
)
pluginManagement { pluginManagement {
repositories { repositories {
mavenCentral() mavenCentral()
@ -17,3 +8,18 @@ pluginManagement {
plugins { plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0" 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"
)