From 58c94ae017374292a717bd7c3c389e95e0402043 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Mon, 18 Mar 2024 10:35:49 -0400 Subject: [PATCH] Move repo declaration into settings --- build.gradle | 5 ----- settings.gradle | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index acccdbaa2e..b39d10f1a3 100644 --- a/build.gradle +++ b/build.gradle @@ -21,11 +21,6 @@ buildscript { } subprojects { - repositories { - mavenCentral() - google() - } - tasks.withType(JavaCompile).configureEach { task -> task.options.encoding = 'UTF-8' } diff --git a/settings.gradle b/settings.gradle index 3a9822f932..db95ce9b0c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,6 +2,13 @@ plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' } +dependencyResolutionManagement { + repositories { + mavenCentral() + google() + } +} + rootProject.name = 'retrofit-root' include ':retrofit'