Skip to content

Commit

Permalink
use proper ci cache
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Dec 9, 2023
1 parent 5743c99 commit b0dac86
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
rootProject.name = "BiomeTool"

// 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
}
}

0 comments on commit b0dac86

Please sign in to comment.