Cache SNAPSHOTs for only five minutes, since they change often

This commit is contained in:
Kenzie Togami
2019-04-28 17:35:28 -07:00
parent 2580a0cf97
commit 7d85df4575

View File

@ -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") }) {