Skip to content

Commit 3b0b173

Browse files
wilkinsonasbrannen
authored andcommitted
Enable local build cache for buildSrc and main project
1 parent fef09e3 commit 3b0b173

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

buildSrc/gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.gradle.caching=true

buildSrc/settings.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
buildCache {
2+
local {
3+
enabled = true
4+
}
5+
remote(HttpBuildCache) {
6+
enabled = false
7+
}
8+
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version=5.2.1.BUILD-SNAPSHOT
22
org.gradle.jvmargs=-Xmx1536M
3-
org.gradle.caching=false
3+
org.gradle.caching=true
44
org.gradle.parallel=true

settings.gradle

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ pluginManagement {
55
}
66
}
77

8+
buildCache {
9+
local {
10+
enabled = true
11+
}
12+
remote(HttpBuildCache) {
13+
enabled = false
14+
}
15+
}
16+
817
include "spring-aop"
918
include "spring-aspects"
1019
include "spring-beans"

0 commit comments

Comments
 (0)