mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-12 03:24:23 +00:00
proper gradle cache
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user