mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-01 15:37:24 +00:00
proper gradle cache
This commit is contained in:
parent
601d174720
commit
e4df8dce1d
@ -39,3 +39,12 @@ pluginManagement {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// settings.gradle.kts
|
||||
val isCiServer = System.getenv().containsKey("CI")
|
||||
// Cache build artifacts, so expensive operations do not need to be re-computed
|
||||
buildCache {
|
||||
local {
|
||||
isEnabled = !isCiServer
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user