Skip to content

Commit

Permalink
ci: more attempts at caching
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon committed Sep 11, 2022
1 parent 7bf9136 commit 22118d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- checkout
- gradle/with_cache:
steps:
- run: gradle build
- run: gradle build --build-cache
- store_artifacts:
path: ~/project/build/libs
- persist_to_workspace:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ out

# gradle
build
build-cache
.gradle

# other
Expand Down
10 changes: 10 additions & 0 deletions gradle.settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
buildCache {
local {
enabled = true
directory = new File(rootDir, 'build-cache')
removeUnusedEntriesAfterDays = 30
}
remote(HttpBuildCache) {
enabled = false
}
}

0 comments on commit 22118d7

Please sign in to comment.