Skip to content

Commit

Permalink
Enable gradle build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
epeee committed Nov 26, 2018
1 parent ceb1d29 commit abedaf6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ bin/

# Gradle & builds
build
build-cache
target
out
.gradle
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.caching=true
7 changes: 7 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ rootProject.children.each { project ->
}

enableFeaturePreview('STABLE_PUBLISHING')

buildCache {
local(DirectoryBuildCache) {
directory = new File(rootDir, 'build-cache')
removeUnusedEntriesAfterDays = 30
}
}

0 comments on commit abedaf6

Please sign in to comment.