mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
Build: Do not cache snapshots
Gradle marks dependencies with a version containing "SNAPSHOT" as "changing", and caches them for 24 hours by default. This updates the configuration to not cache them at all. Original commit: elastic/x-pack-elasticsearch@ac95e30a96
This commit is contained in:
parent
891d348dd1
commit
fc1d043c0d
@ -8,6 +8,10 @@ allprojects {
|
||||
subprojects {
|
||||
group = 'org.elasticsearch'
|
||||
version = org.elasticsearch.gradle.VersionProperties.elasticsearch
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.cacheChangingModulesFor(0, 'seconds')
|
||||
}
|
||||
}
|
||||
|
||||
if (hasProperty('projectsPrefix') == false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user