mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Refresh cache when on ci
This commit is contained in:
parent
916b3b11e0
commit
b9b8ba75ea
1 changed files with 8 additions and 1 deletions
|
@ -32,6 +32,13 @@ repositories {
|
|||
}
|
||||
}
|
||||
|
||||
// check for updates every build when on CI
|
||||
if (System.env.CI) {
|
||||
configurations.all {
|
||||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}"
|
||||
|
@ -140,4 +147,4 @@ publishing {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue