Cache downloaded dependency jars separately

This will further remove common files out the the Gradle User Home
cache entries, reducing cache usage by removing redundancy.
This commit is contained in:
Daz DeBoer 2021-09-11 15:40:26 -06:00
parent 693293c29a
commit 4b92b8d013
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 4 additions and 3 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,8 @@ const CACHE_PATH = [
const DEDUPLCIATED_PATHS = [ const DEDUPLCIATED_PATHS = [
'~/.gradle/wrapper/dists/*/*/*.zip', '~/.gradle/wrapper/dists/*/*/*.zip',
'~/.gradle/caches/*/generated-gradle-jars/*.jar' '~/.gradle/caches/*/generated-gradle-jars/*.jar',
'~/.gradle/caches/modules-*/files-*/**/*.jar'
] ]
const MARKER_FILE_EXTENSION = '.txt' const MARKER_FILE_EXTENSION = '.txt'