Skip to content

Commit

Permalink
Extract build cache settings to a dedicated file
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and sbrannen committed Oct 25, 2019
1 parent f838590 commit 46a31bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
9 changes: 1 addition & 8 deletions buildSrc/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = false
}
}
apply from: new File(settingsDir, '../gradle/build-cache-settings.gradle')
8 changes: 8 additions & 0 deletions gradle/build-cache-settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = false
}
}
9 changes: 1 addition & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ pluginManagement {
}
}

buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = false
}
}
apply from: new File(settingsDir, 'gradle/build-cache-settings.gradle')

include "spring-aop"
include "spring-aspects"
Expand Down

0 comments on commit 46a31bc

Please sign in to comment.