Skip to content

Commit

Permalink
Enable local build cache for buildSrc and main project
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona authored and sbrannen committed Sep 30, 2019
1 parent fef09e3 commit 3b0b173
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions buildSrc/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.caching=true
8 changes: 8 additions & 0 deletions buildSrc/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = false
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=5.2.1.BUILD-SNAPSHOT
org.gradle.jvmargs=-Xmx1536M
org.gradle.caching=false
org.gradle.caching=true
org.gradle.parallel=true
9 changes: 9 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ pluginManagement {
}
}

buildCache {
local {
enabled = true
}
remote(HttpBuildCache) {
enabled = false
}
}

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

0 comments on commit 3b0b173

Please sign in to comment.