Skip to content

Commit 81fc9fc

Browse files
committed
remove local build cache
1 parent 1a4500a commit 81fc9fc

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ target
1111
**/build/
1212
**/generated/
1313
examples/**/build/
14-
build-cache/
1514

1615
# Eclipse #
1716
###########

docs/contributing/running-tests.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@ To ignore warnings, formatting issues, or other non-fatal issues in tests, use
4848
./gradlew test -Ddev=true -x spotlessCheck -x checkstyleMain
4949
```
5050

51-
The `dev` flag
52-
53-
- will ignore warnings in tests
54-
- will use a local build cache, which can speed up the build
55-
56-
The local build cache is also useful for other commands, such as `./gradlew spotlessApply -Ddev=true`.
51+
The `dev` flag will ignore warnings in tests.
5752

5853
## Smoke tests
5954

settings.gradle.kts

+2-9
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,8 @@ if (useScansGradleCom) {
9898
}
9999

100100
buildCache {
101-
if (System.getProperty("dev") == "true") {
102-
local {
103-
directory = File(rootDir, "build-cache")
104-
removeUnusedEntriesAfterDays = 30
105-
}
106-
} else {
107-
remote(develocity.buildCache) {
108-
isPush = isCI && geAccessKey.isNotEmpty()
109-
}
101+
remote(develocity.buildCache) {
102+
isPush = isCI && geAccessKey.isNotEmpty()
110103
}
111104
}
112105
}

0 commit comments

Comments
 (0)