Skip to content

Commit

Permalink
Move gradle repository setup from settings to project's build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubMosakowski committed Jul 16, 2022
1 parent 74235a5 commit 2f5573f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ buildscript {
}
}

allprojects {
repositories {
google()
mavenCentral()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
15 changes: 0 additions & 15 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "HiltGuide"
include ':app'
include ':domain'
include ':presentation'
Expand Down

0 comments on commit 2f5573f

Please sign in to comment.