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'