Skip to content

Commit

Permalink
build: Add resolution strategy for changing/dynamic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 19, 2024
1 parent 81bb784 commit 55eb88c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}

0 comments on commit 55eb88c

Please sign in to comment.