From 7d85df4575b9db73dae5efea38564363005fabfc Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Sun, 28 Apr 2019 17:35:28 -0700 Subject: [PATCH] Cache SNAPSHOTs for only five minutes, since they change often --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 41de17bb8..43ec9605a 100644 --- a/build.gradle +++ b/build.gradle @@ -87,6 +87,11 @@ subprojects { maven { url "http://maven.sk89q.com/repo/" } maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } + configurations.all { + resolutionStrategy { + cacheChangingModulesFor 5, 'minutes' + } + } } configure(['core', 'bukkit', 'forge', 'sponge'].collect { project(":worldedit-$it") }) {