Skip to content

Commit

Permalink
Merge pull request #4101 from square/jw.move.2024-03-18
Browse files Browse the repository at this point in the history
Move repo declaration into settings
  • Loading branch information
JakeWharton authored Mar 18, 2024
2 parents 98b02b7 + 58c94ae commit 2d72b12
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 @@ -20,11 +20,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 2d72b12

Please sign in to comment.