From bae2d88e3daa9d94e8923c6e545aaad80d2b7349 Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sat, 2 Mar 2024 21:37:21 +0000 Subject: [PATCH] Adopt dependencyResolutionManagement in settings.gradle --- build.gradle.kts | 6 ------ settings.gradle.kts | 24 +++++++++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 57d1941..ef7e0ee 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,12 +33,6 @@ tasks.withType { } } -allprojects { - repositories { - mavenCentral() - } -} - subprojects { plugins.withType { apply(plugin = "org.gradle.signing") diff --git a/settings.gradle.kts b/settings.gradle.kts index 79d17e7..dc2a5bc 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,12 +1,3 @@ -rootProject.name = "kotlin-result" - -include( - "benchmarks", - "example", - "kotlin-result", - "kotlin-result-coroutines" -) - pluginManagement { repositories { mavenCentral() @@ -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" +)