From 1f7bc9c5b8837c93c0929d5c1e9f720a3c1498e0 Mon Sep 17 00:00:00 2001 From: Filip Ocelka Date: Wed, 20 Mar 2024 10:15:03 +0100 Subject: [PATCH] Remove duplicate repo settings from build.gradle files (#903) --- batm_ssh_tunnel/build.gradle | 4 ---- server_extensions_examples/build.gradle | 1 - server_extensions_template/build.gradle | 1 - settings.gradle | 4 ++++ 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/batm_ssh_tunnel/build.gradle b/batm_ssh_tunnel/build.gradle index 3fede2f26..646b2f252 100644 --- a/batm_ssh_tunnel/build.gradle +++ b/batm_ssh_tunnel/build.gradle @@ -3,10 +3,6 @@ plugins { id("shared-build-conventions") } -repositories { - mavenCentral() -} - version = "1.0.0" application { diff --git a/server_extensions_examples/build.gradle b/server_extensions_examples/build.gradle index 275a5bf6b..1fade2898 100644 --- a/server_extensions_examples/build.gradle +++ b/server_extensions_examples/build.gradle @@ -1,6 +1,5 @@ plugins { id("shared-build-conventions") - id("shared-repositories-ext-conventions") } group = projectGroup diff --git a/server_extensions_template/build.gradle b/server_extensions_template/build.gradle index 32493ee0b..78226917c 100644 --- a/server_extensions_template/build.gradle +++ b/server_extensions_template/build.gradle @@ -1,6 +1,5 @@ plugins { id("shared-build-conventions") - id("shared-repositories-ext-conventions") } group = projectGroup diff --git a/settings.gradle b/settings.gradle index 1f15e385b..1d3365536 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,7 @@ +dependencyResolutionManagement { + repositoriesMode = RepositoriesMode.PREFER_PROJECT +} + include ':server_extensions_api' include ':server_extensions_extra' include ':server_extensions_test'