Skip to content

Commit

Permalink
Move repo declaration into settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Mar 18, 2024
1 parent 87e0c81 commit 58c94ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ buildscript {
}

subprojects {
repositories {
mavenCentral()
google()
}

tasks.withType(JavaCompile).configureEach { task ->
task.options.encoding = 'UTF-8'
}
Expand Down
7 changes: 7 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 58c94ae

Please sign in to comment.