From 55eb88ccb70e4959c99dfdf9ec52b1941e81c4cb Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Sun, 19 May 2024 14:59:09 +0200 Subject: [PATCH] build: Add resolution strategy for changing/dynamic versions --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index fb5d7b05..cbf459df 100644 --- a/build.gradle +++ b/build.gradle @@ -5,4 +5,13 @@ plugins { id 'org.spongepowered.mixin' version '0.7-SNAPSHOT' apply(false) id 'net.darkhax.curseforgegradle' version '1.1.18' apply(false) id "com.modrinth.minotaur" version "2.+" apply(false) +} + +subprojects { + configurations.all { + resolutionStrategy { + cacheChangingModulesFor 60, 'seconds' + cacheDynamicVersionsFor 60, 'seconds' + } + } } \ No newline at end of file